![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
Const member function pointer to a one-dimensional function. More...
#include <funct.h>
tclass
is const or not is up to the user. Public Member Functions | |
funct_cmfptr (tclass *tp, double(tclass::*fp)(double x) const) | |
Specify the member function pointer. | |
virtual double | operator() (double x) |
Compute the function at point x , with result y . | |
Protected Member Functions | |
funct_cmfptr (const funct_cmfptr &f) | |
Copy constructor. | |
funct_cmfptr & | operator= (const funct_cmfptr &f) |
Copy constructor. | |
Protected Attributes | |
double(tclass::* | fptr )(double x) const |
Storage for the const member function pointer. | |
tclass * | tptr |
Store the pointer to the class instance. |
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).