template<typename DERIVED>
class gtsam::Basis< DERIVED >::VectorDerivativeFunctor
VectorDerivativeFunctor at a given x, applied to a parameter Matrix.
This functor is used to evaluate the derivatives of a parameterized function at a given scalar value x. When given a specific M*N parameters, returns an M-vector the M corresponding function derivatives at x, possibly with Jacobians wrpt the parameters.
Definition at line 390 of file Basis.h.
template<typename DERIVED>
void gtsam::Basis< DERIVED >::VectorDerivativeFunctor::calculateJacobian |
( |
| ) |
|
|
inlineprotected |
Calculate the M*(M*N)
Jacobian of this functor with respect to the M*N parameter matrix P
. We flatten assuming column-major order, e.g., if N=3 and M=2, we have H =[ w(0) 0 w(1) 0 w(2) 0 0 w(0) 0 w(1) 0 w(2) ] i.e., the Kronecker product of weights_ with the MxM identity matrix.
Definition at line 405 of file Basis.h.