OpenKalman
Static Public Member Functions | List of all members
OpenKalman::internal::ScaledSigmaPointsBase< Derived > Struct Template Reference

Static Public Member Functions

template<std::size_t dim, typename YMeans >
static auto weighted_means (YMeans &&y_means)
 
template<std::size_t dim, typename InputDist , bool return_cross = false, typename X , typename Y , std::enable_if_t< typed_matrix< X > and typed_matrix< Y > and(index_dimension_of< X, 1 >::value==index_dimension_of< Y, 1 >::value) and compares_with< vector_space_descriptor_of_t< X, 0 >, typename DistributionTraits< InputDist >::StaticDescriptor >, int > = 0>
static auto covariance (const X &x_deviations, const Y &y_deviations)
 Calculate the posterior covariance, given prior and posterior deviations from the sigma points. More...
 

Member Function Documentation

◆ covariance()

template<typename Derived>
template<std::size_t dim, typename InputDist , bool return_cross = false, typename X , typename Y , std::enable_if_t< typed_matrix< X > and typed_matrix< Y > and(index_dimension_of< X, 1 >::value==index_dimension_of< Y, 1 >::value) and compares_with< vector_space_descriptor_of_t< X, 0 >, typename DistributionTraits< InputDist >::StaticDescriptor >, int > = 0>
static auto OpenKalman::internal::ScaledSigmaPointsBase< Derived >::covariance ( const X &  x_deviations,
const Y &  y_deviations 
)
inlinestatic

Calculate the posterior covariance, given prior and posterior deviations from the sigma points.

Template Parameters
dimThe total number of dimensions of all inputs.
InputDistThe prior distribution.
return_crossWhether to return a cross-covariance.
XThe scaled sigma points for the prior distribution (the mean is translated to origin).
YThe transformed sigma points for the posterior distribution (the mean is translated to origin).
Returns
The posterior covariance, or (if return_cross, then a tuple comprising the posterior covariance and the cross-covariance.

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