|
gslmm::function_1d< double > Class Template Reference#include <function_1d.hh>
Inheritance diagram for gslmm::function_1d< double >:
[legend]Collaboration diagram for gslmm::function_1d< double >:
[legend]List of all members.
Detailed Description
template<>
class gslmm::function_1d< double >
A 1D generalised function - double specialisation.
Constructor & Destructor Documentation
Friends And Related Function Documentation
double df_helper |
( |
double |
x, |
|
|
void * |
p |
|
) |
[friend] |
|
|
Helper function.
Forwards calls to object passed as the second parameter (cast to type void ). - Parameters:
-
| x | The value to evaluate the derivative of the function at. |
| p | Pointer to object to evaluate (cast to type void ) |
- Returns:
- The result of
static_cast<function_1d<double>*> (p)->derivative(x)
|
double f_helper |
( |
double |
x, |
|
|
void * |
p |
|
) |
[friend] |
|
|
Helper function.
Forwards calls to object passed as the second parameter (cast to type void ). - Parameters:
-
| x | The value to evaluate the function at. |
| p | Pointer to object to evaluate (cast to type void ) |
- Returns:
- The result of
static_cast<function_1d<double>*> (p)->evaluate(x)
|
void fdf_helper |
( |
double |
x, |
|
|
void * |
p, |
|
|
double * |
f, |
|
|
double * |
df |
|
) |
[friend] |
|
|
Helper function.
Forwards calls to object passed as the second parameter (cast to type void ). - Parameters:
-
| x | The value to function and the derivative of the function at. |
| p | Pointer to object to evaluate (cast to type void ) |
| f | On output, the result of static_cast<function_1d<double>*> (p)->evaluate(x) |
| df | On output, the result of static_cast<function_1d<double>*> (p)->derivative(x) |
|
Member Data Documentation
|
A function that also has the derivative.
|
The documentation for this class was generated from the following file:
|