#include <function.h>
Public Types | |
typedef double(* | double_function )(double x) |
A double-to-double mapping. | |
typedef double(* | double_2d_1d_function )(double x, double y) |
A 2D to 1D mapping function. | |
Public Member Functions | |
function (double_function f) | |
Constructor. | |
function (double_2d_1d_function f) | |
double | eval (double x) const |
Evaluate the function at a point. | |
double | eval (double x, double y) const |
typedef double(* glot::function::double_2d_1d_function)(double x, double y) |
typedef double(* glot::function::double_function)(double x) |
A double-to-double mapping.
x | - for a given x, return another double |
glot::function::function | ( | double_function | f | ) | [inline] |
glot::function::function | ( | double_2d_1d_function | f | ) | [inline] |
double glot::function::eval | ( | double | x, | |
double | y | |||
) | const [inline] |
double glot::function::eval | ( | double | x | ) | const [inline] |