funct_fptr_noerr Class Template Reference

Function pointer to a function returning the function value.

#include <funct.h>

Inheritance diagram for funct_fptr_noerr:

funct

Detailed Description

template<class param_t>
class funct_fptr_noerr< param_t >

Definition at line 127 of file funct.h.


Public Member Functions

 funct_fptr_noerr (double(*fp)(double x, param_t &pa))
 Specify the 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 Member Functions

 funct_fptr_noerr (const funct_fptr_noerr &f)
 Copy constructor.
funct_fptr_noerroperator= (const funct_fptr_noerr &f)
 Copy constructor.

Protected Attributes

double(* fptr )(double x, param_t &pa)
 Storage for the function pointer.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page