dataprocess.h
Go to the documentation of this file.
00001 
00009 #ifndef _DATAPROC_H
00010 #define _DATAPROC_H
00011 #include <gsl/gsl_matrix.h>
00012 #include <gsl/gsl_vector.h>
00013 #include <gsl/gsl_blas.h>
00014 #include <gsl/gsl_linalg.h>
00015 
00016 #include <gsl/gsl_rng.h>
00017 #include <gsl/gsl_randist.h>
00018 #include <gsl/gsl_blas.h>
00019 #include <gsl/gsl_multifit_nlin.h>
00020 #include <gsl/gsl_deriv.h>
00021 
00022 #include "../functions/postprocess.h"
00023 
00024 using namespace std; 
00025 
00026 
00027 int get_trans_matrix(vector<double> &datapoints_base,vector<double> &datapoints_new, 
00028                      vector<vector<double> > &rotmat, vector<double> &p_vec);
00029 
00030 
00031 void getavgvec(vector<double> &datavec, vector<double> &avgvec, int np);
00032 void get_distri_matrices(gsl_matrix * G, gsl_matrix * P, vector<double> &datapoints_new, double *pav_ar, vector<double> &datapoints_base, double *a_ar);
00033 void get_matrix_adjoin(gsl_matrix * M, gsl_matrix * M_adj);
00034 
00035 int sol_betas_fdf(gsl_vector * betas,void *g_vals, gsl_vector * err, gsl_matrix * J);
00036 int sol_betas_f(gsl_vector * betas,void * g_vals, gsl_vector * err);
00037 int sol_betas_df(gsl_vector * betas,void * g_vals, gsl_matrix * J);
00038 int get_betas(double &b1, double &b2, double g1sq, double g2sq, double g3);
00039 
00040 
00041 void getRot(gsl_matrix * R, gsl_matrix * G, gsl_matrix *GtG, double b1, double b2);
00042 
00043 #endif
00044 
00045 
 All Data Structures Files Functions Variables Typedefs Defines