1 #ifndef CASM_ContainerTraits_HH
2 #define CASM_ContainerTraits_HH
6 #include "casm/external/Eigen/Dense"
20 template <
typename _Container>
23 template <
typename _value_type,
typename Allocator>
25 using Container = std::vector<_value_type, Allocator>;
39 template <
typename _value_type,
int a,
int b,
int c,
int d,
int e>
41 typedef Eigen::Matrix<_value_type, a, b, c, d, e>
Container;
INDEX_TYPE Index
For long integer indexing:
Helper Functor for Counter container access using operator[].
Helper Functor for Counter container access using operator()
static size_type cols(const Container &mat)
Return size of container.
Container::Scalar value_type
static size_type rows(const Container &mat)
Return size of container.
Container::Index size_type
CASM_TMP::ParenthesesAccess< Container, value_type, size_type > Access
Container::Scalar value_type2D
static size_type size(const Container &mat)
Return size of container.
Eigen::Matrix< _value_type, a, b, c, d, e > Container
static size_type cols(const Container &vec)
std::vector< _value_type, Allocator > Container
typename Container::size_type size_type
static size_type size(const Container &vec)
typename Container::value_type value_type
static size_type rows(const Container &vec)
Specialize container traits Expects: