#include <multi_funct.h>
Definition at line 83 of file multi_funct.h.
Public Member Functions | |
multi_funct_fptr (int(*fp)(size_t nv, const vec_t &x, double &y, param_t &pa)) | |
Specify the function pointer. | |
virtual int | operator() (size_t nv, const vec_t &x, double &y, param_t &pa) |
Compute a function y of nv variables stored in x with parameter pa . | |
virtual double | operator() (size_t nv, const vec_t &x, param_t &pa) |
Return the value of a function of nv variables stored in x with parameter pa . | |
Protected Attributes | |
int(* | fptr )(size_t nv, const vec_t &x, double &y, param_t &pa) |
Store the function pointer. | |
Private Member Functions | |
multi_funct_fptr (const multi_funct_fptr &) | |
multi_funct_fptr & | operator= (const multi_funct_fptr &) |
virtual double operator() | ( | size_t | nv, | |
const vec_t & | x, | |||
param_t & | pa | |||
) | [inline, virtual] |
Return the value of a function of nv
variables stored in x
with parameter pa
.
Note that this is reimplemented in all children because if one member function operator() is reimplemented, all must be.
Reimplemented from multi_funct.
Definition at line 110 of file multi_funct.h.
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page