# bdm::grid_fnc Class Reference

Function defined by values on a fixed grid and interpolated inbetween them. More...

## Detailed Description

Function defined by values on a fixed grid and interpolated inbetween them.

`#include <discrete.h>`

List of all members.

## Public Member Functions
void | set_support (rectangular_support &sup0)
| constructor function
void | set_values (double(*evalptr)(const vec &))
| constructor function fills values by calling function `f` , double f(vec&), given by a pointer
double | nearest_val (const vec &val)
| get value nearest to the given point
vec | eval (const vec &val)
| function evaluates numerical value of at `cond`
virtual void | condition (const vec &val)
| function substitutes given value into an appropriate position
int | dimension () const
| access function
virtual string | to_string ()
| This method returns a basic info about the current instance.
virtual void | from_setting (const Setting &set)
| This method arrange instance properties according the data stored in the Setting structure.
virtual void | to_setting (Setting &set) const
| This method save all the instance properties into the Setting structure.
virtual void | validate ()
| This method TODO.
## Protected Attributes
rectangular_support | sup
| grid - function support
vec | values
| function values on the grid
int | dimy
| Length of the output vector.

The documentation for this class was generated from the following files:

- discrete.h
- discrete.cpp