farm-ng-core
num_diff.h File Reference
#include "sophus/common/common.h"
#include <functional>
#include <type_traits>
#include <utility>
Include dependency graph for num_diff.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sophus
 Image MutImage, owning images types.
 

Functions

template<class TScalar , class TFn >
auto sophus::curveNumDiff (TFn curve, TScalar t, TScalar h=kEpsilonSqrt< TScalar >) -> decltype(details::Curve< TScalar >::numDiff(std::move(curve), t, h))
 Calculates the derivative of a curve at a point t. More...
 
template<class TScalar , int kMatrixDim, int kM, class TScalarOrVector , class TFn >
auto sophus::vectorFieldNumDiff (TFn vector_field, TScalarOrVector const &a, TScalar eps=kEpsilonSqrt< TScalar >) -> Eigen::Matrix< TScalar, kMatrixDim, kM >
 Calculates the derivative of a vector field at a point a. More...
 

Detailed Description

Numerical differentiation using finite differences