Template Function Sophus::curveNumDiff
Defined in File num_diff.hpp
Function Documentation
-
template<class Scalar, class Fn>
auto Sophus::curveNumDiff(Fn curve, Scalar t, Scalar h = Constants<Scalar>::epsilonSqrt()) -> decltype(details::Curve<Scalar>::num_diff(std::move(curve), t, h)) Calculates the derivative of a curve at a point
t
.Here, a curve is a function from a Scalar to a Euclidean space. Thus, it returns either a Scalar, a vector or a matrix.