#include <multi_funct.h>
This class generalizes one function of several variables, i.e. where
nv
is the number of variables in the function y.
Definition at line 41 of file multi_funct.h.
Public Member Functions | |
multi_funct () | |
virtual | ~multi_funct () |
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 . |
virtual int operator() | ( | size_t | nv, | |
const vec_t & | x, | |||
double & | y, | |||
param_t & | pa | |||
) | [inline, virtual] |
Compute a function y
of nv
variables stored in x
with parameter pa
.
Compute a function y
of nv
variables stored in x
with parameter pa
.
Reimplemented in multi_funct_fptr, multi_funct_gsl, multi_funct_fptr_noerr, multi_funct_mfptr, and multi_funct_mfptr_noerr.
Definition at line 52 of file multi_funct.h.
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 in multi_funct_fptr, multi_funct_gsl, multi_funct_fptr_noerr, multi_funct_mfptr, and multi_funct_mfptr_noerr.
Definition at line 67 of file multi_funct.h.