SPRAAK
|
Mathematical transformations of parameters. More...
Functions | |
void | spr_fun_eval_free (SprSspInfo *Info) |
int | spr_fun_eval_setup (SprSspInfo *Info, const char **descript, void *aux_info) |
int | spr_fun_eval_process (SprSspInfo *Info, const void *frame_in, void *frame_out) |
Mathematical transformations of parameters.
Evaluate a simpel mathematical function (no if's or loops).
[fun_eval] | |
---|---|
var <var_name> ... | |
Define all variables. | |
const <expr> ... | |
Evaluate constant expression (independant from the input data) | |
eval <expr> ... | |
Expressions to calculate the output frame from the input frame. The final result has to be stored in the variable 'ovec'. | |
example ivec=<expr> ... | |
Example of an input frame, used to calclutate the output vector length. By default a vector containing all ones is used. |