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

Function pointer to a multi-dimensional function.

#include <multi_funct.h>

Inheritance diagram for multi_funct_fptr_param< param_t, vec_t >:
multi_funct< vec_t >

Detailed Description

template<class param_t, class vec_t = ovector_base>
class multi_funct_fptr_param< param_t, vec_t >

Definition at line 117 of file multi_funct.h.

Public Member Functions

 multi_funct_fptr_param (double(*fp)(size_t nv, const vec_t &x, param_t &), param_t &pa)
 Specify the function pointer.
virtual double operator() (size_t nv, const vec_t &x)
 Compute a function y of nv variables stored in x with parameter pa.

Protected Attributes

double(* fptr )(size_t nv, const vec_t &x, param_t &)
 Store the function pointer.
param_t * pp
 Parameter.

Private Member Functions

 multi_funct_fptr_param (const multi_funct_fptr_param &)
multi_funct_fptr_paramoperator= (const multi_funct_fptr_param &)

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.