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

Function pointer to a function with a parameter.

#include <funct.h>

Inheritance diagram for funct_fptr_param< param_t >:
funct

Detailed Description

template<class param_t>
class funct_fptr_param< param_t >

Definition at line 103 of file funct.h.

Public Member Functions

 funct_fptr_param (double(*fp)(double, param_t &), param_t &pa)
 Specify the function pointer.
virtual double operator() (double x)
 Compute the function at point x, with result y.

Protected Member Functions

 funct_fptr_param (const funct_fptr_param &f)
 Copy constructor.
funct_fptr_paramoperator= (const funct_fptr_param &f)
 Copy constructor.

Protected Attributes

double(* fptr )(double x, param_t &pa)
 The function pointer.
param_t * pp
 The parameter.

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.