|
| double | csm_x (csm_function *func, double y) |
| | compute x from a given y
|
| double | csm_y (csm_function *func, double x) |
| | compute y from a given x
|
| double | csm_dx (csm_function *func, double y) |
| | compute delta-x from a given delta-y
|
| double | csm_dy (csm_function *func, double x) |
| | compute delta-y from a given delta-x
|
| double | csm_z (csm_function *func, double x, double y) |
| | compute z from a given x and y
|
| void | csm_clear (csm_function *func) |
| | clear a function
|
| void | csm_free (csm_function *func) |
| | free a function-structure
|
| void | csm_def_linear (csm_function *func, double a, double b) |
| | define a linear function
|
| csm_bool | csm_def_linear_offset (csm_function *func, double a) |
| | re-define the offset of a linear function
|
| csm_bool | csm_fill_1d_table (double *x, double *y, int len, csm_function *func) |
| | fill one-dimensional function table from double arrays.
|
| csm_bool | csm_read_1d_table (char *filename, csm_function *func) |
| | read parameters of one-dimensional function table
|
| csm_bool | csm_read_2d_table (char *filename, csm_function *func) |
| | read parameters of two-dimensional function table
|
| void | csm_init (void) |
| | initialize the module
|
| csm_function * | csm_new_function (void) |
| | create a new function object
|
| void | csm_pr_func (csm_function *func) |
| | dump a new function object
|
- Author
- Götz Pfeiffer (goetz.pfeiffer@helmholtz-berlin.de)
- Version
- 1.0
This module implements one and two dimensional function tables. The tables can be specified by simple ascii files. The points defined in the file don't have to be in the same distance.
Definition in file csmbase.h.