Public Types | Static Public Member Functions | List of all members
vpdt_update_covariance< F, typename vpdt_field_traits< F >::vector_type, typename vpdt_field_traits< F >::type_is_vector > Struct Template Reference

Specialized classes to update covariance of different types. More...

#include <vpdt_update_gaussian.h>

Public Types

typedef vpdt_field_traits< F >::scalar_type T
 the data type used for scalars. More...
 
typedef vpdt_field_traits< F >::vector_type vector
 the data type used for vectors. More...
 

Static Public Member Functions

static void increment (vector &c, const T &s, const vector &d)
 update the covariance matrix with a weighted vector difference. More...
 
static void enforce_min (vector &c, const T &min_var)
 enforce a minimum covariance value in all dimensions. More...
 

Detailed Description

template<class F>
struct vpdt_update_covariance< F, typename vpdt_field_traits< F >::vector_type, typename vpdt_field_traits< F >::type_is_vector >

Specialized classes to update covariance of different types.

Definition at line 63 of file vpdt_update_gaussian.h.

Member Typedef Documentation

◆ T

template<class F >
typedef vpdt_field_traits<F>::scalar_type vpdt_update_covariance< F, typename vpdt_field_traits< F >::vector_type, typename vpdt_field_traits< F >::type_is_vector >::T

the data type used for scalars.

Definition at line 67 of file vpdt_update_gaussian.h.

◆ vector

template<class F >
typedef vpdt_field_traits<F>::vector_type vpdt_update_covariance< F, typename vpdt_field_traits< F >::vector_type, typename vpdt_field_traits< F >::type_is_vector >::vector

the data type used for vectors.

Definition at line 69 of file vpdt_update_gaussian.h.

Member Function Documentation

◆ enforce_min()

template<class F >
static void vpdt_update_covariance< F, typename vpdt_field_traits< F >::vector_type, typename vpdt_field_traits< F >::type_is_vector >::enforce_min ( vector c,
const T min_var 
)
inlinestatic

enforce a minimum covariance value in all dimensions.

Definition at line 78 of file vpdt_update_gaussian.h.

◆ increment()

template<class F >
static void vpdt_update_covariance< F, typename vpdt_field_traits< F >::vector_type, typename vpdt_field_traits< F >::type_is_vector >::increment ( vector c,
const T s,
const vector d 
)
inlinestatic

update the covariance matrix with a weighted vector difference.

Definition at line 72 of file vpdt_update_gaussian.h.


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