#include <derivatives.h>
Public Member Functions | |
CentralDifferenceGradient (const Vector< Size, Precision, Base > &v_, const Functor &f_) | |
Precision | operator() (Precision hh) |
Compute central difference. | |
Public Attributes | |
const Functor & | f |
Functor to evaluate. | |
int | i |
Index to difference along. | |
const Vector< Size, Precision, Base > & | v |
Point about which to compute differences. | |
Vector< Size, Precision > | x |
Local copy of v. |
Definition at line 140 of file derivatives.h.
TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::CentralDifferenceGradient | ( | const Vector< Size, Precision, Base > & | v_, | |
const Functor & | f_ | |||
) | [inline] |
Definition at line 147 of file derivatives.h.
Precision TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::operator() | ( | Precision | hh | ) | [inline] |
Compute central difference.
Definition at line 152 of file derivatives.h.
const Functor& TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::f |
Functor to evaluate.
Definition at line 144 of file derivatives.h.
int TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::i |
Index to difference along.
Definition at line 145 of file derivatives.h.
const Vector<Size, Precision, Base>& TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::v |
Point about which to compute differences.
Definition at line 142 of file derivatives.h.
Vector<Size, Precision> TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::x |
Local copy of v.
Definition at line 143 of file derivatives.h.