Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
gtsam::Basis< DERIVED >::VectorComponentFunctor Class Reference

#include <Basis.h>

Inheritance diagram for gtsam::Basis< DERIVED >::VectorComponentFunctor:
Inheritance graph
[legend]

Public Member Functions

double apply (const Matrix &P, OptionalJacobian< -1, -1 > H={}) const
 Calculate component of component rowIndex_ of P. More...
 
double operator() (const Matrix &P, OptionalJacobian< -1, -1 > H={}) const
 c++ sugar More...
 
 VectorComponentFunctor ()
 For serialization. More...
 
 VectorComponentFunctor (size_t M, size_t N, size_t i, double x)
 Construct with row index. More...
 
 VectorComponentFunctor (size_t M, size_t N, size_t i, double x, double a, double b)
 Construct with row index and interval. More...
 
- Public Member Functions inherited from gtsam::Basis< DERIVED >::EvaluationFunctor
double apply (const typename DERIVED::Parameters &p, OptionalJacobian<-1, -1 > H={}) const
 Regular 1D evaluation. More...
 
 EvaluationFunctor ()
 For serialization. More...
 
 EvaluationFunctor (size_t N, double x)
 Constructor with interval [a,b]. More...
 
 EvaluationFunctor (size_t N, double x, double a, double b)
 Constructor with interval [a,b]. More...
 
double operator() (const typename DERIVED::Parameters &p, OptionalJacobian<-1, -1 > H={}) const
 c++ sugar More...
 
void print (const std::string &s="") const
 

Protected Types

using Jacobian = Eigen::Matrix< double, 1, -1 >
 

Protected Member Functions

void calculateJacobian (size_t N)
 

Protected Attributes

Jacobian H_
 
size_t M_
 
size_t rowIndex_
 
- Protected Attributes inherited from gtsam::Basis< DERIVED >::EvaluationFunctor
Weights weights_
 

Detailed Description

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

Given a M*N Matrix of M-vectors at N polynomial points, an instance of VectorComponentFunctor computes the N-vector value for a specific row component of the M-vectors at all the polynomial points.

This component is specified by the row index i, with 0<i<M.

Definition at line 225 of file Basis.h.

Member Typedef Documentation

◆ Jacobian

template<typename DERIVED>
using gtsam::Basis< DERIVED >::VectorComponentFunctor::Jacobian = Eigen::Matrix<double, 1, -1>
protected

Definition at line 227 of file Basis.h.

Constructor & Destructor Documentation

◆ VectorComponentFunctor() [1/3]

template<typename DERIVED>
gtsam::Basis< DERIVED >::VectorComponentFunctor::VectorComponentFunctor ( )
inline

For serialization.

Definition at line 250 of file Basis.h.

◆ VectorComponentFunctor() [2/3]

template<typename DERIVED>
gtsam::Basis< DERIVED >::VectorComponentFunctor::VectorComponentFunctor ( size_t  M,
size_t  N,
size_t  i,
double  x 
)
inline

Construct with row index.

Definition at line 253 of file Basis.h.

◆ VectorComponentFunctor() [3/3]

template<typename DERIVED>
gtsam::Basis< DERIVED >::VectorComponentFunctor::VectorComponentFunctor ( size_t  M,
size_t  N,
size_t  i,
double  x,
double  a,
double  b 
)
inline

Construct with row index and interval.

Definition at line 259 of file Basis.h.

Member Function Documentation

◆ apply()

template<typename DERIVED>
double gtsam::Basis< DERIVED >::VectorComponentFunctor::apply ( const Matrix P,
OptionalJacobian< -1, -1 >  H = {} 
) const
inline

Calculate component of component rowIndex_ of P.

Definition at line 266 of file Basis.h.

◆ calculateJacobian()

template<typename DERIVED>
void gtsam::Basis< DERIVED >::VectorComponentFunctor::calculateJacobian ( size_t  N)
inlineprotected

Definition at line 242 of file Basis.h.

◆ operator()()

template<typename DERIVED>
double gtsam::Basis< DERIVED >::VectorComponentFunctor::operator() ( const Matrix P,
OptionalJacobian< -1, -1 >  H = {} 
) const
inline

c++ sugar

Definition at line 273 of file Basis.h.

Member Data Documentation

◆ H_

template<typename DERIVED>
Jacobian gtsam::Basis< DERIVED >::VectorComponentFunctor::H_
protected

Definition at line 228 of file Basis.h.

◆ M_

template<typename DERIVED>
size_t gtsam::Basis< DERIVED >::VectorComponentFunctor::M_
protected

Definition at line 230 of file Basis.h.

◆ rowIndex_

template<typename DERIVED>
size_t gtsam::Basis< DERIVED >::VectorComponentFunctor::rowIndex_
protected

Definition at line 231 of file Basis.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:46:15