TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base > Struct Template Reference

#include <derivatives.h>

List of all members.

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.

Detailed Description

template<class Functor, class Precision, int Size, class Base>
struct TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >

Definition at line 140 of file derivatives.h.


Constructor & Destructor Documentation

template<class Functor , class Precision , int Size, class Base >
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.


Member Function Documentation

template<class Functor , class Precision , int Size, class Base >
Precision TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::operator() ( Precision  hh  )  [inline]

Compute central difference.

Definition at line 152 of file derivatives.h.


Member Data Documentation

template<class Functor , class Precision , int Size, class Base >
const Functor& TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::f

Functor to evaluate.

Definition at line 144 of file derivatives.h.

template<class Functor , class Precision , int Size, class Base >
int TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::i

Index to difference along.

Definition at line 145 of file derivatives.h.

template<class Functor , class Precision , int Size, class Base >
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.

template<class Functor , class Precision , int Size, class Base >
Vector<Size, Precision> TooN::Internal::CentralDifferenceGradient< Functor, Precision, Size, Base >::x

Local copy of v.

Definition at line 143 of file derivatives.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines


libtoon
Author(s): Florian Weisshardt
autogenerated on Fri Jan 11 10:09:50 2013