#include <funct.h>
tclass
is const or not is up to the user. Definition at line 306 of file funct.h.
Public Member Functions | |
funct_cmfptr (tclass *tp, int(tclass::*fp)(double x, double &y, param_t &pa) const) | |
Specify the member function pointer. | |
virtual int | operator() (double x, double &y, param_t &pa) |
Compute the function at point x , with result y . | |
virtual double | operator() (double x, param_t &pa) |
Compute the function at point x , returning the result. | |
Protected Attributes | |
int(tclass::* | fptr )(double x, double &y, param_t &pa) const |
Storage for the const member function pointer. | |
tclass * | tptr |
Store the pointer to the class instance. |
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