Autoware.Auto
eigen_utils.hpp File Reference
#include <Eigen/Geometry>
Include dependency graph for eigen_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  autoware::common::state_estimation::detail::Index
 A functor to compute an index in the data array. More...
 

Namespaces

 autoware
 This file defines the lanelet2_map_provider_node class.
 
 autoware::common
 
 autoware::common::state_estimation
 
 autoware::common::state_estimation::detail
 

Enumerations

enum  autoware::common::state_estimation::DataStorageOrder { autoware::common::state_estimation::DataStorageOrder::kRowMajor, autoware::common::state_estimation::DataStorageOrder::kColumnMajor }
 This class describes a data storage order. More...
 

Functions

template<std::int32_t kStateDimensionality, typename FloatT >
static constexpr Eigen::Transform< FloatT, kStateDimensionality, Eigen::TransformTraits::Isometry > autoware::common::state_estimation::downscale_isometry (const Eigen::Transform< FloatT, 3, Eigen::TransformTraits::Isometry > &isometry)
 Downscale the isometry to a lower dimension if needed. More...
 
template<std::int32_t kRows, std::int32_t kCols, typename ScalarT , std::size_t kSize>
Eigen::Matrix< ScalarT, kRows, kCols > autoware::common::state_estimation::array_to_matrix (const std::array< ScalarT, kSize > &array, const std::int32_t start_index, const std::int32_t stride, const DataStorageOrder storage_order)
 Transform a given array to an Eigen matrix using the specified stride and a starting index within this array. More...
 
template<std::int32_t kRows, std::int32_t kCols, typename ScalarT , std::size_t kSize>
void autoware::common::state_estimation::set_from_matrix (std::array< ScalarT, kSize > &array, const Eigen::Matrix< ScalarT, kRows, kCols > &matrix, const std::int32_t start_index, const std::int32_t stride, const DataStorageOrder storage_order)
 Sets data in an array from a given Eigen matrix. More...
 
template<typename ScalarT , std::int32_t kRows, std::int32_t kCols, std::size_t kSeqRowsSize, std::size_t kSeqColsSize>
Eigen::Matrix< ScalarT, static_cast< std::int32_t >kSeqRowsSize), static_cast< std::int32_t >kSeqColsSize)> autoware::common::state_estimation::slice (const Eigen::Matrix< ScalarT, kRows, kCols > matrix, const std::array< Eigen::Index, kSeqRowsSize > &sequence_rows, const std::array< Eigen::Index, kSeqColsSize > &sequence_cols)
 Get a slice of a given matrix. More...