Special class for optional Jacobian arguments.
Global functions in a separate testing namespace.
Definition chartTesting.h:28
OptionalJacobian is an Eigen::Ref like class that can take be constructed using either a fixed size o...
Definition OptionalJacobian.h:40
Interface for a compactly supported continuous convolution kernel.
Definition KernelBase.h:27
double getLength() const
Width of the kernel support.
Definition KernelBase.h:52
virtual double getCenter() const =0
Center of the kernel support.
virtual double evaluateDerivative(size_t derivative, double t, OptionalJacobian< 1, 1 > H={}) const =0
Evaluate the requested derivative at t, optionally returning the next derivative.
virtual double getBeginning() const =0
Earliest argument at which the kernel is non-constant.
virtual size_t getValidDerivatives() const =0
Highest derivative order represented by the kernel.
virtual double getEnd() const =0
Latest argument at which the kernel is non-constant.
virtual ~KernelBase()=default
Destroy the polymorphic kernel interface.
virtual double evaluate(double t, OptionalJacobian< 1, 1 > H={}) const =0
Evaluate the kernel at t, optionally returning its first derivative.