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

Function pointer to array of multi-dimensional functions.

#include <multi_min.h>

Inheritance diagram for grad_funct_fptr_param< param_t, vec_t >:
grad_funct< vec_t >

Detailed Description

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

Definition at line 123 of file multi_min.h.

Public Member Functions

 grad_funct_fptr_param (int(*fp)(size_t nv, vec_t &x, vec_t &y, param_t &), param_t &pa)
 Specify the function pointer.
int set_function (int(*fp)(size_t nv, vec_t &x, vec_t &y, param_t &), param_t &pa)
 Specify the function pointer.
virtual int operator() (size_t nv, vec_t &x, vec_t &y)
 Compute nv functions, y, of nv variables stored in x with parameter pa.

Protected Attributes

int(* fptr )(size_t nv, vec_t &x, vec_t &y, param_t &)
 The function pointer to the user-supplied function.
param_t * pp
 The parameter.

Private Member Functions

 grad_funct_fptr_param (const grad_funct_fptr_param &)
grad_funct_fptr_paramoperator= (const grad_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.