TheBoussinesqModel  3.2.1
 All Data Structures Files Functions Variables Typedefs Macros Pages
t_alloc.h
Go to the documentation of this file.
1 float *vector(long nl,long nh);
2 int *ivector(long nl, long nh);
3 long *lvector(long nl, long nh) ;
4 short *svector(long nl, long nh) ;
5 double *dvector(long nl, long nh) ;
6 char *cvector(long nl, long nh);
7 float **matrix(long nrl, long nrh, long ncl,long nch);
8 int **imatrix(long nrl, long nrh, long ncl,long nch);
9 short **smatrix(long nrl, long nrh, long ncl,long nch);
10 long **lmatrix(long nrl, long nrh, long ncl,long nch);
11 double **dmatrix(long nrl, long nrh, long ncl,long nch);
12 char **charmatrix(long nrl, long nrh, long ncl,long nch);
13 
14 /*-------------------------------------------------------------------------------
15 You will find for each method (function, routine) acting on a type a replica acting
16 on the other types. To indicate collectively the replicas we will use "*". Thus
17 in that context, * substitutes:
18 shortvector, intvector, longvector, floatvector, doublevector, charvector,
19 shortmatrix, intmatrix, longmatrix, floatmatrix, doublematrix, charmatrix,
20 shortbin, intbin, longbin,doublebin ,stringbin.
21 ---------------------------------------------------------------------------------*/
22 
23 
90 
92 
94 
96 
98 
100 
101 
102 SHORTMATRIX *new_shortmatrix( long,long);
103 
104 INTMATRIX *new_intmatrix( long,long);
105 
106 FLOATMATRIX *new_floatmatrix( long,long);
107 
108 LONGMATRIX *new_longmatrix( long,long);
109 
110 DOUBLEMATRIX *new_doublematrix( long,long);
111 
112 
114 
116 
118 
120 
122 
123 
124 
125 
126 
176 void free_intvector( INTVECTOR *);
177 void free_longvector( LONGVECTOR *);
180 void free_charvector( CHARVECTOR *);
181 
183 void free_intmatrix( INTMATRIX *);
184 void free_longmatrix( LONGMATRIX *);
187 
188 void free_intbin( INTBIN *);
189 void free_stringbin( STRINGBIN *);
190 void free_shortbin( SHORTBIN *);
191 void free_longbin( LONGBIN *);
192 void free_doublebin( DOUBLEBIN *);
193 
194 void free_svector(short* v, long nl);
195 void free_ivector(int* v, long nl);
196 void free_vector(float * v, long nl);
197 void free_lvector(long * v, long nl);
198 void free_dvector(double * v, long nl);
199 void free_cvector(char * v, long nl);
200 void free_smatrix(short **m,long nrl,long ncl);
201 void free_imatrix(int **m,long nrl,long ncl);
202 void free_matrix(float **m,long nrl,long ncl);
203 void free_lmatrix(long **m,long nrl,long ncl);
204 void free_dmatrix(double **m,long nrl,long ncl);
205 void free_charmatrix(char **m,long nrl,long ncl);
206 
207 
208 
236 void free_header(HEADER );
237 
238 
239 
240 
241 
242 double ***d3tensor( long nrl, long nrh, long ncl, long nch, long ndl, long ndh);
243 DOUBLETENSOR *new_doubletensor(long nrh,long nch,long ndh);
244 void free_d3tensor(double ***t,long nrl, long ncl, long ndl);
246 
247 
248 double **dmatrix(long nrl, long nrh, long ncl,long nch);
249 double *dvector(long nl, long nh);