funct_fptr_nopar Class Template Reference

Function pointer to a function with no parameters. More...

#include <funct.h>

Inheritance diagram for funct_fptr_nopar:

funct

Detailed Description

template<class param_t>
class funct_fptr_nopar< param_t >

Function pointer to a function with no parameters.

Definition at line 189 of file funct.h.


Public Member Functions

 funct_fptr_nopar (double(*fp)(double x))
 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 Attributes

double(* fptr )(double x)
 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