Go to the documentation of this file.
13 #ifndef EIGEN_NUMERICAL_DIFF_H
14 #define EIGEN_NUMERICAL_DIFF_H
35 template<
typename _Functor, NumericalDiffMode mode=Forward>
51 template<
typename T0,
typename T1>
53 template<
typename T0,
typename T1,
typename T2>
93 for (
int j = 0;
j <
n; ++
j) {
104 jac.col(
j) = (val2-val1)/
h;
112 jac.col(
j) = (val2-val1)/(2*
h);
129 #endif // EIGEN_NUMERICAL_DIFF_H
NumericalDiff(const T0 &a0)
Namespace containing all symbols from the Eigen library.
Matrix< Scalar, ValuesAtCompileTime, InputsAtCompileTime > JacobianType
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
NumericalDiff(Scalar _epsfcn=0.)
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST
static const DiscreteKey mode(modeKey, 2)
Functor::InputType InputType
int df(const InputType &_x, JacobianType &jac) const
static const Pose3 T2(Rot3::Rodrigues(0.3, 0.2, 0.1), P2)
NumericalDiff(const T0 &a0, const T1 &a1)
Matrix< Scalar, InputsAtCompileTime, 1 > InputType
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
NumericalDiff(const Functor &f, Scalar _epsfcn=0.)
Matrix< Scalar, ValuesAtCompileTime, 1 > ValueType
NumericalDiff(const T0 &a0, const T1 &a1, const T2 &a2)
static const Similarity3 T1(R, Point3(3.5, -8.2, 4.2), 1)
Functor::ValueType ValueType
NumericalDiff & operator=(const NumericalDiff &)
Functor::JacobianType JacobianType
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Jet< T, N > sqrt(const Jet< T, N > &f)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:13