OpenKalman
Public Member Functions | List of all members
OpenKalman::LinearTransformation< InputCoefficients, OutputCoefficients, TransformationMatrix, PerturbationTransformationMatrices > Struct Template Reference

A linear tests from one single-column vector to another. More...

#include <LinearTransformation.hpp>

Public Member Functions

 LinearTransformation (const TransformationMatrix &mat, const PerturbationTransformationMatrices &... p_mats)
 Constructor.
 
template<typename T , typename ... Ps, std::enable_if_t< oin::linear_transformation_input< T, OutputCoefficients, InputCoefficients > and(oin::linear_transformation_input< Ps, OutputCoefficients > and ...), int > = 0>
 LinearTransformation (T &&mat, Ps &&... p_mats)
 General constructor. More...
 
template<typename In , typename ... Perturbations, std::enable_if_t< transformation_input< In, InputCoefficients > and(perturbation< Perturbations, OutputCoefficients > and ...), int > = 0>
auto operator() (In &&in, Perturbations &&... ps) const
 Applies the tests.
 
template<typename In , typename ... Perturbations, std::enable_if_t< transformation_input< In, InputCoefficients > and(perturbation< Perturbations, OutputCoefficients > and ...), int > = 0>
auto jacobian (const In &, const Perturbations &...) const
 Returns a tuple of the Jacobians for the input and each perturbation term.
 

Detailed Description

template<typename InputCoefficients, typename OutputCoefficients, typename TransformationMatrix, typename ... PerturbationTransformationMatrices>
struct OpenKalman::LinearTransformation< InputCoefficients, OutputCoefficients, TransformationMatrix, PerturbationTransformationMatrices >

A linear tests from one single-column vector to another.

Template Parameters
InputCoefficientsCoefficient types for the input.
OutputCoefficientsCoefficient types for the output.
TransformationMatrixTransformation matrix. It is a native matrix type with rows corresponding to OutputCoefficients and columns corresponding to InputCoefficients.
PerturbationTransformationMatricesTransformation matrices for each potential perturbation term. if the parameter is not given, the tests matrix is assumed to be identity (i.e., it is a translation). It is a native matrix type with both rows and columns corresponding to OutputCoefficients.

Constructor & Destructor Documentation

◆ LinearTransformation()

template<typename InputCoefficients , typename OutputCoefficients , typename TransformationMatrix , typename ... PerturbationTransformationMatrices>
template<typename T , typename ... Ps, std::enable_if_t< oin::linear_transformation_input< T, OutputCoefficients, InputCoefficients > and(oin::linear_transformation_input< Ps, OutputCoefficients > and ...), int > = 0>
OpenKalman::LinearTransformation< InputCoefficients, OutputCoefficients, TransformationMatrix, PerturbationTransformationMatrices >::LinearTransformation ( T &&  mat,
Ps &&...  p_mats 
)
inline

General constructor.

Template Parameters
T
Ps

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