OpenKalman
Public Member Functions | List of all members
OpenKalman::FiniteDifferenceLinearization< Function, InDelta, PsDelta > Struct Template Reference

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.
 

Detailed Description

template<typename Function, typename InDelta, typename ... PsDelta>
struct OpenKalman::FiniteDifferenceLinearization< Function, InDelta, PsDelta >

A tests which calculates the first and second Taylor derivatives using finite differences.

Template Parameters
FunctionThe function to be linearized by finite differences.
InDeltaThe type of the input (and its delta).
PsDeltaThe type of the perturbations (and their deltas).

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