GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Classes | Static Public Member Functions | List of all members
gtsam::Basis< DERIVED > Class Template Reference

#include <Basis.h>

Classes

class  ComponentDerivativeFunctor
 
class  DerivativeFunctor
 
class  DerivativeFunctorBase
 Base class for functors below that calculate derivative weights. More...
 
class  EvaluationFunctor
 
class  ManifoldEvaluationFunctor
 
class  VectorComponentFunctor
 
class  VectorDerivativeFunctor
 
class  VectorEvaluationFunctor
 

Static Public Member Functions

static Matrix WeightMatrix (size_t N, const Vector &X)
 
static Matrix WeightMatrix (size_t N, const Vector &X, double a, double b)
 Calculate weights for all x in vector X, with interval [a,b]. More...
 

Detailed Description

template<typename DERIVED>
class gtsam::Basis< DERIVED >

CRTP Base class for function bases

Member Function Documentation

◆ WeightMatrix() [1/2]

template<typename DERIVED>
static Matrix gtsam::Basis< DERIVED >::WeightMatrix ( size_t  N,
const Vector &  X 
)
inlinestatic

Calculate weights for all x in vector X. Returns M*N matrix where M is the size of the vector X, and N is the number of basis functions.

◆ WeightMatrix() [2/2]

template<typename DERIVED>
static Matrix gtsam::Basis< DERIVED >::WeightMatrix ( size_t  N,
const Vector &  X,
double  a,
double  b 
)
inlinestatic

Calculate weights for all x in vector X, with interval [a,b].

Parameters
NThe number of basis functions.
XThe vector for which to compute the weights.
aThe lower bound for the interval range.
bThe upper bound for the interval range.
Returns
Returns M*N matrix where M is the size of the vector X.

The documentation for this class was generated from the following file: