|
programmer's documentation
|
Provides mathemathical functions facilities. More...
#include "cs_defs.h"#include <stdlib.h>#include <stdio.h>#include <string.h>#include <fcntl.h>#include <assert.h>#include <bft_mem.h>#include <bft_error.h>#include <bft_printf.h>#include "mei_math_util.h"
Macros | |
| #define | SIZE_MAX 1000 |
Functions | |
| 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.
| #define SIZE_MAX 1000 |
| 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.
| [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 |
| double mei_max | ( | const double | x1, |
| const double | x2 | ||
| ) |
Return the max value from two doubles.
| [in] | x1 | double |
| [in] | x2 | double |
| double mei_min | ( | const double | x1, |
| const double | x2 | ||
| ) |
Return the min value from two doubles.
| [in] | x1 | double |
| [in] | x2 | double |
1.8.3.1