programmer's documentation
Data Structures | Functions
mei_math_util.h File Reference

Provides mathemathical functions facilities. More...

#include <math.h>
Include dependency graph for mei_math_util.h:

Go to the source code of this file.

Data Structures

struct  mei_user_data_t
 Structure associated to a single user data set for 1D interpolation. More...
 

Functions

double mei_interp1d (const char *filename, int c1, int c2, double x)
 Return the 1D interpolation if a value. More...
 
void mei_data_free (void)
 Destroy all user data set for 1D interpolation. More...
 

Detailed Description

Provides mathemathical functions facilities.

Function Documentation

void mei_data_free ( void  )

Destroy all user data set for 1D interpolation.

double mei_interp1d ( const char *  filename,
int  c1,
int  c2,
double  x 
)

Return the 1D interpolation if a value.

Parameters
[in]filenamename of file of data
[in]c1column number of the file for abscisse
[in]c2column number of the file for ordinate
[in]xvariable to interpolate
Returns
interpolated value