Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Member Functions | Protected Attributes
funct_mfptr< tclass > Class Template Reference

Member function pointer to a one-dimensional function.

#include <funct.h>

Inheritance diagram for funct_mfptr< tclass >:
funct

Detailed Description

template<class tclass>
class funct_mfptr< tclass >

Definition at line 149 of file funct.h.

Public Member Functions

 funct_mfptr (tclass *tp, double(tclass::*fp)(double x))
 Specify the member function pointer.
virtual double operator() (double x)
 Compute the function at point x, with result y.

Protected Member Functions

 funct_mfptr (const funct_mfptr &f)
 Copy constructor.
funct_mfptroperator= (const funct_mfptr &f)
 Copy constructor.

Protected Attributes

double(tclass::* fptr )(double x)
 Storage for the member function pointer.
tclass * tptr
 Store the pointer to the class instance.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.