mixpp: bdm::grid_fnc Class Reference

bdm::grid_fnc Class Reference

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

#include <discrete.h>

Inheritance diagram for bdm::grid_fnc:

bdm::fnc bdm::root List of all members.

Public Member Functions

void set_support (shared_ptr< support_base > &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
void set_values (const epdf &ep)
 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
double integrate ()
vec eval (const vec &val)
const vec & _values () const

Protected Attributes

shared_ptr< support_base > sup
 grid - function support
vec values
 function values on the grid

Detailed Description

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


The documentation for this class was generated from the following files:
Generated on 2 Dec 2013 for mixpp by  doxygen 1.4.7