GTSAM
4.0.2
C++ library for smoothing and mapping (SAM)
|
#include <Matrix.h>
Public Types | |
enum | { M = traits<T>::dimension } |
typedef Eigen::Matrix< double, N, 1 > | VectorN |
typedef Eigen::Matrix< double, N, N > | MatrixN |
typedef std::function< VectorN(const T &, const VectorN &, OptionalJacobian< N, M >, OptionalJacobian< N, N >)> | Operator |
Public Member Functions | |
MultiplyWithInverseFunction (const Operator &phi) | |
Construct with function as explained above. | |
VectorN | operator() (const T &a, const VectorN &b, OptionalJacobian< N, M > H1={}, OptionalJacobian< N, N > H2={}) const |
f(a).inverse() * b, with optional derivatives | |
Functor that implements multiplication with the inverse of a matrix, itself the result of a function f. It turn out we only need the derivatives of the operator phi(a): b -> f(a) * b