Class ode_funct_boost (o2scl)

O2scl : Class List

template<class vec_t = std::vector<double>, class func_t = std::function<int(double, size_t, const vec_t&, vec_t&)>, class fp_t = double>
class ode_funct_boost

Simple wrapper to translate Boost format to O2scl format.

Public Functions

inline ode_funct_boost(func_t &f, size_t nv)

Create a wrapper.

inline void operator()(const vec_t &y, vec_t &dydt, fp_t x)

Boost interface calling O2scl format.

Protected Attributes

func_t *fp

Pointer to function object.

size_t nv2

Number of variables.