Eigen-unsupported  3.4.90 (git rev 67eeba6e720c5745abc77ae6c92ce0a44aa7b7ae)
Eigen::NumericalDiff< Functor_, mode > Class Template Reference

Detailed Description

template<typename Functor_, NumericalDiffMode mode = Forward>
class Eigen::NumericalDiff< Functor_, mode >

This class allows you to add a method df() to your functor, which will use numerical differentiation to compute an approximate of the derivative for the functor. Of course, if you have an analytical form for the derivative, you should rather implement df() by yourself.

More information on http://en.wikipedia.org/wiki/Numerical_differentiation

Currently only "Forward" and "Central" scheme are implemented.

Inherits Functor_.

Public Member Functions

int df (const InputType &_x, JacobianType &jac) const

Member Function Documentation

◆ df()

template<typename Functor_ , NumericalDiffMode mode = Forward>
int Eigen::NumericalDiff< Functor_, mode >::df ( const InputType &  _x,
JacobianType &  jac 
) const

return the number of evaluation of functor

The documentation for this class was generated from the following file: