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

Const member function pointer fitting function.

#include <fit_base.h>

Inheritance diagram for fit_funct_cmfptr< tclass, vec_t >:
fit_funct< vec_t >

Detailed Description

template<class tclass, class vec_t = ovector_base>
class fit_funct_cmfptr< tclass, vec_t >

Definition at line 139 of file fit_base.h.

Public Member Functions

 fit_funct_cmfptr (tclass *tp, double(tclass::*fp)(size_t np, const vec_t &p, double x) const)
 Specify the member function pointer.
virtual double operator() (size_t np, const vec_t &p, double x)
 Using parameters in p, predict y given x.

Protected Attributes

double(tclass::* fptr )(size_t np, const vec_t &p, double x) const
 Storage for the user-specified function pointer.
tclass * tptr
 Storage for the class pointer.

Private Member Functions

 fit_funct_cmfptr (const fit_funct_cmfptr &)
fit_funct_cmfptroperator= (const fit_funct_cmfptr &)

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.