Template Struct multivariate_distribution_traits< T, std::enable_if_t< std::is_base_of_v< Sophus::SE2Base< T >, T > > >

Struct Documentation

template<class T>
struct multivariate_distribution_traits<T, std::enable_if_t<std::is_base_of_v<Sophus::SE2Base<T>, T>>>

Specialization for types derived from Sophus::SE2Base.

Public Types

using scalar_type = typename T::Scalar

The scalar type.

using result_type = Sophus::SE2<scalar_type>

The result type representation.

using vector_type = typename Eigen::Matrix<scalar_type, 3, 1>

The vector type.

using covariance_type = typename Eigen::Matrix<scalar_type, 3, 3>

The covariance matrix type.

Public Static Functions

static inline constexpr vector_type to_vector(const result_type &t)

Convert from result to vector representation.

static inline constexpr result_type from_vector(const vector_type &v)

Convert from vector to result representation.