proteus  1.8.1
C/C++/Fortran libraries
Macros | Functions | Variables
Subroutines.cpp File Reference
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "ncurses/curses.h"
#include "Headers.h"
Include dependency graph for Subroutines.cpp:

Go to the source code of this file.

Macros

#define iff(x, y)   if(strcmp(x,#y)==0)
 
#define pi   3.14159265358979324
 
#define Int   extern int
 
#define Double   extern double
 

Functions

double * dvector (long, long)
 
double ** dmatrix (long nrl, long nrh, long ncl, long nch)
 
void free_dvector (double *, long, long)
 
void free_dmatrix (double **m, long nrl, long nrh, long ncl, long nch)
 
void init ()
 
double Eqns (double *rhs)
 
double Newton (int count)
 

Variables

char Case []
 

Macro Definition Documentation

◆ Double

#define Double   extern double

Definition at line 13 of file Subroutines.cpp.

◆ iff

#define iff (   x,
 
)    if(strcmp(x,#y)==0)

Definition at line 9 of file Subroutines.cpp.

◆ Int

#define Int   extern int

Definition at line 12 of file Subroutines.cpp.

◆ pi

#define pi   3.14159265358979324

Definition at line 10 of file Subroutines.cpp.

Function Documentation

◆ dmatrix()

double** dmatrix ( long  nrl,
long  nrh,
long  ncl,
long  nch 
)

Definition at line 16 of file Util.cpp.

◆ dvector()

double* dvector ( long  ,
long   
)

Definition at line 7 of file Util.cpp.

◆ Eqns()

double Eqns ( double *  rhs)

Definition at line 83 of file Subroutines.cpp.

◆ free_dmatrix()

void free_dmatrix ( double **  m,
long  nrl,
long  nrh,
long  ncl,
long  nch 
)

Definition at line 44 of file Util.cpp.

◆ free_dvector()

void free_dvector ( double *  ,
long  ,
long   
)

Definition at line 38 of file Util.cpp.

◆ init()

void init ( void  )

Definition at line 28 of file Subroutines.cpp.

◆ Newton()

double Newton ( int  count)

Definition at line 139 of file Subroutines.cpp.

Variable Documentation

◆ Case

char Case[]
extern