#include <Basis.h>
Public Member Functions | |
Vector | apply (const Matrix &P, OptionalJacobian< -1, -1 > H={}) const |
M-dimensional evaluation. More... | |
Vector | operator() (const Matrix &P, OptionalJacobian< -1, -1 > H={}) const |
c++ sugar More... | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | VectorEvaluationFunctor () |
For serialization. More... | |
VectorEvaluationFunctor (size_t M, size_t N, double x) | |
Default Constructor. More... | |
VectorEvaluationFunctor (size_t M, size_t N, double x, double a, double b) | |
Constructor, with interval [a,b]. More... | |
Protected Types | |
using | Jacobian = Eigen::Matrix< double, -1, -1 > |
Protected Member Functions | |
void | calculateJacobian () |
![]() | |
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 Attributes | |
Jacobian | H_ |
size_t | M_ |
![]() | |
Weights | weights_ |
VectorEvaluationFunctor at a given x, applied to a parameter Matrix. This functor is used to evaluate a parameterized function at a given scalar value x. When given a specific M*N parameters, returns an M-vector the M corresponding functions at x, possibly with Jacobians wrpt the parameters.
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
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.
|
inline |
|
protected |
|
protected |