GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Classes | Functions
Basis

Classes

class  gtsam::Basis< DERIVED >
 
class  gtsam::EvaluationFactor< BASIS >
 Factor for enforcing the scalar value of the polynomial BASIS representation at x is the same as the measurement z when using a pseudo-spectral parameterization. More...
 
class  gtsam::VectorEvaluationFactor< BASIS, M >
 
class  gtsam::VectorComponentFactor< BASIS, P >
 

Functions

template<size_t M>
Matrix gtsam::kroneckerProductIdentity (const Weights &w)
 Function for computing the kronecker product of the 1*N Weight vector w with the MxM identity matrix I efficiently. The main reason for this is so we don't need to use Eigen's Unsupported library. More...
 

Detailed Description

Function Documentation

◆ kroneckerProductIdentity()

template<size_t M>
Matrix gtsam::kroneckerProductIdentity ( const Weights &  w)

Function for computing the kronecker product of the 1*N Weight vector w with the MxM identity matrix I efficiently. The main reason for this is so we don't need to use Eigen's Unsupported library.

Template Parameters
MSize of the identity matrix.
Parameters
wThe weights of the polynomial.
Returns
Mx(M*N) kronecker product [w(0)*I, w(1)*I, ..., w(N-1)*I]