Provides mathemathical functions facilities.  
More...
#include <math.h>
Go to the source code of this file.
|  | 
| double | mei_interp1d (const char *filename, const int c1, const int c2, const double x) | 
|  | Return the 1D interpolation if a value.  More... 
 | 
|  | 
| void | mei_data_free (void) | 
|  | Destroy all user data set for 1D interpolation.  More... 
 | 
|  | 
| double | mei_max (const double x1, const double x2) | 
|  | Return the max value from two doubles.  More... 
 | 
|  | 
| double | mei_min (const double x1, const double x2) | 
|  | Return the min value from two doubles.  More... 
 | 
|  | 
Provides mathemathical functions facilities. 
      
        
          | void mei_data_free | ( | void |  | ) |  | 
      
 
Destroy all user data set for 1D interpolation. 
 
 
      
        
          | double mei_interp1d | ( | const char * | filename, | 
        
          |  |  | const int | c1, | 
        
          |  |  | const int | c2, | 
        
          |  |  | const double | x | 
        
          |  | ) |  |  | 
      
 
Return the 1D interpolation if a value. 
- Parameters
- 
  
    | [in] | filename | name of file of data |  | [in] | c1 | column number of the file for abscisse |  | [in] | c2 | column number of the file for ordinate |  | [in] | x | variable to interpolate |  
 
- Returns
- interpolated value 
 
 
      
        
          | double mei_max | ( | const double | x1, | 
        
          |  |  | const double | x2 | 
        
          |  | ) |  |  | 
      
 
Return the max value from two doubles. 
- Parameters
- 
  
    | [in] | x1 | double |  | [in] | x2 | double |  
 
- Returns
- max value 
 
 
      
        
          | double mei_min | ( | const double | x1, | 
        
          |  |  | const double | x2 | 
        
          |  | ) |  |  | 
      
 
Return the min value from two doubles. 
- Parameters
- 
  
    | [in] | x1 | double |  | [in] | x2 | double |  
 
- Returns
- min value