Go to the documentation of this file.
15 #ifndef BELUGA_RANDOM_MULTIVARIATE_DISTRIBUTION_TRAITS_HPP
16 #define BELUGA_RANDOM_MULTIVARIATE_DISTRIBUTION_TRAITS_HPP
31 template <
class T,
class Enable =
void>
37 static_assert(T::ColsAtCompileTime == 1 || T::RowsAtCompileTime == 1,
"T should be a column or row vector");
40 static constexpr
int matrix_size = T::ColsAtCompileTime > T::RowsAtCompileTime
41 ? T::ColsAtCompileTime
42 : T::RowsAtCompileTime;
54 using covariance_type =
typename Eigen::Matrix<scalar_type, matrix_size, matrix_size>;
73 using vector_type =
typename Eigen::Matrix<scalar_type, 1, 1>;
97 using vector_type =
typename Eigen::Matrix<scalar_type, 3, 1>;
typename T::Scalar scalar_type
The scalar type.
SOPHUS_FUNC SO3Member & so3()
typename Eigen::Matrix< scalar_type, 3, 1 > vector_type
The vector type.
typename Eigen::Matrix< scalar_type, 1, 1 > vector_type
The vector type.
typename T::Scalar scalar_type
The scalar type.
static constexpr result_type from_vector(const vector_type &v)
Convert from vector to result representation.
static constexpr vector_type to_vector(const result_type &t)
Convert from result to vector representation.
typename Eigen::Matrix< scalar_type, 3, 1 > vector_type
The vector type.
static SOPHUS_FUNC SO3< Scalar > exp(Tangent const &omega)
typename Eigen::Matrix< scalar_type, matrix_size, matrix_size > covariance_type
The covariance matrix type.
static SOPHUS_FUNC SO2< Scalar > exp(Tangent const &theta)
typename Eigen::Matrix< scalar_type, 6, 6 > covariance_type
The covariance matrix type.
typename T::PlainMatrix result_type
The result type representation.
typename std::enable_if< B, T >::type enable_if_t
typename Eigen::Matrix< scalar_type, 3, 3 > covariance_type
The covariance matrix type.
static constexpr result_type from_vector(const vector_type &v)
Convert from vector to result representation.
static constexpr result_type from_vector(const vector_type &v)
Convert from vector to result representation.
typename T::Scalar scalar_type
The scalar type.
static constexpr vector_type to_vector(const result_type &t)
Convert from result to vector representation.
SOPHUS_FUNC SO2Member & so2()
static constexpr vector_type to_vector(const result_type &t)
Convert from result to vector representation.
typename Eigen::Matrix< scalar_type, 3, 3 > covariance_type
The covariance matrix type.
typename T::Scalar scalar_type
The scalar type.
typename Eigen::Matrix< scalar_type, 6, 1 > vector_type
The vector type.
typename T::Scalar scalar_type
The scalar type.
SOPHUS_FUNC TranslationMember & translation()
typename Eigen::Matrix< scalar_type, 1, 1 > covariance_type
The covariance matrix type.
static constexpr vector_type to_vector(const result_type &t)
Convert from result to vector representation.
static constexpr result_type from_vector(const vector_type &v)
Convert from vector to result representation.
SOPHUS_FUNC TranslationMember & translation()
Forward declaration of the multivariate_distribution_traits class template.
static constexpr result_type from_vector(const vector_type &v)
Convert from vector to result representation.
static constexpr vector_type to_vector(const result_type &t)
Convert from result to vector representation.
typename T::PlainMatrix vector_type
The vector type.
The main Beluga namespace.
beluga
Author(s):
autogenerated on Tue Jul 16 2024 02:59:53