|
OpenKalman
|
A tests which calculates the first and second Taylor derivatives using finite differences. More...
#include <FiniteDifferenceLinearization.hpp>
Public Member Functions | |
| template<typename T , typename In , typename ... Ps, std::enable_if_t<(transformation_input< In > and ... and transformation_input< Ps >), int > = 0> | |
| FiniteDifferenceLinearization (T &&trans, In &&in_delta, Ps &&... ps_delta) | |
| Constructor. | |
| template<typename In , typename ... Perturbations> | |
| auto | operator() (In &&in, Perturbations &&... ps) const |
| Applies the tests. | |
| template<typename In , typename ... Perturbations> | |
| auto | jacobian (In &&in, Perturbations &&...ps) const |
| Returns a tuple of the Jacobians for the input and each perturbation term. | |
| template<typename In , typename ... Perturbations> | |
| auto | hessian (In &&in, Perturbations &&...ps) const |
| Returns a tuple of Hessian matrices for the input and each perturbation term. | |
A tests which calculates the first and second Taylor derivatives using finite differences.
| Function | The function to be linearized by finite differences. |
| InDelta | The type of the input (and its delta). |
| PsDelta | The type of the perturbations (and their deltas). |
1.8.13