TheBoussinesqModel  3.2.1
 All Data Structures Files Functions Variables Typedefs Macros Pages
t_datamanipulation.h
Go to the documentation of this file.
1 #define RATIO 1000
2 
34 
59 void sortreal(DOUBLEVECTOR *);
60 
119 
176 DOUBLEMATRIX *exponentialhystogram(DOUBLEVECTOR *,long ,long , long);
177 
204 void initialize_longvector(LONGVECTOR *, long);
205 void initialize_shortvector(SHORTVECTOR *,short );
206 void initialize_intvector(INTVECTOR *,int );
207 void initialize_floatvector(FLOATVECTOR *,float );
208 void initialize_doublevector(DOUBLEVECTOR *,double );
209 
210 void initialize_longmatrix(LONGMATRIX *, long);
211 void initialize_shortmatrix(SHORTMATRIX *,short );
212 void initialize_intmatrix(INTMATRIX *,int );
213 void initialize_floatmatrix(FLOATMATRIX *,float );
214 void initialize_doublematrix(DOUBLEMATRIX *,double );
215 
216 
265 
308 
313 
360 
361 
405 
432 
461 
490 
517 double interpolate(double x,DOUBLEMATRIX *cleandata,DOUBLEMATRIX* W);
518 
519 
547 void interpolate_floatmatrix(FLOATMATRIX *matrice, float dt, float istante, FLOATVECTOR *vettore);
548 
576 void interpolate_doublematrix(DOUBLEMATRIX *matrice, float dt, float istante, DOUBLEVECTOR *vettore);
577 
609 double variance_doublematrix_column(DOUBLEMATRIX* net,long column,double mean);
610 
611 
641 double mean_doublematrix_column(DOUBLEMATRIX* net,long column);
642 
666 double approximate_2_multiple(double number,double div);
667 
691 DOUBLEMATRIX *ricampiona(DOUBLEMATRIX *cleandata, float ti2, float dt2, long n2, float dt1);
692 
693 
694 
695 
696 /*-------- quickinterpolate -----------------------------------------------
697 
698 Synopsis:
699 
700 DOUBLEMATRIX *quickinterpolate(DOUBLEMATRIX *cleandata, short intervals);
701 Version: 0.96
702 
703 Description: Interpolate a matrix, giving a matrix with less rows
704 
705 Authors & Date: Giacomo Bertoldi, April 2001
706 
707 
708 Inputs: 1) cleandata: matrix to interpolate
709  2) intervals: number of intervals to aggregate
710 
711 
712 Return: interpolated matrix
713 
714 FIle: LIBRARIES/BASICSMATHSTAT/datamanipulation.c
715 
716 */
717 
718 DOUBLEMATRIX *quickinterpolate(DOUBLEMATRIX *cleandata, short intervals);
719 
720 
751 double mean_function(DOUBLEMATRIX *data, long n);
752 
779 
780 /*-------- fill_data ------------------------------------------------------------------*/
781 
812 void fill_data(DOUBLEMATRIX *cleandata,SHORTMATRIX *control,long j,long n_i,long n_f,double x_i,double x_f);
813 
814 /*-------- aggregate ------------------------------------------------------------------*/
815 
842 DOUBLEMATRIX *aggregate(DOUBLEMATRIX *data, long col, float nv);
843