CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > > Struct Template Reference

#include <ContainerTraits.hh>

Detailed Description

template<typename _value_type, int a, int b, int c, int d, int e>
struct CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > >

Eigen::MatrixXd container traits.

Definition at line 40 of file ContainerTraits.hh.

Public Types

typedef Eigen::Matrix< _value_type, a, b, c, d, e > Container
 
typedef Container::Index size_type
 
typedef Container::Scalar value_type
 
typedef Container::Scalar value_type2D
 
typedef CASM_TMP::ParenthesesAccess< Container, value_type, size_typeAccess
 

Static Public Member Functions

static size_type size (const Container &mat)
 Return size of container. More...
 
static size_type rows (const Container &mat)
 Return size of container. More...
 
static size_type cols (const Container &mat)
 Return size of container. More...
 

Member Typedef Documentation

◆ Access

template<typename _value_type , int a, int b, int c, int d, int e>
typedef CASM_TMP::ParenthesesAccess<Container, value_type, size_type> CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > >::Access

Definition at line 45 of file ContainerTraits.hh.

◆ Container

template<typename _value_type , int a, int b, int c, int d, int e>
typedef Eigen::Matrix<_value_type, a, b, c, d, e> CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > >::Container

Definition at line 41 of file ContainerTraits.hh.

◆ size_type

template<typename _value_type , int a, int b, int c, int d, int e>
typedef Container::Index CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > >::size_type

Definition at line 42 of file ContainerTraits.hh.

◆ value_type

template<typename _value_type , int a, int b, int c, int d, int e>
typedef Container::Scalar CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > >::value_type

Definition at line 43 of file ContainerTraits.hh.

◆ value_type2D

template<typename _value_type , int a, int b, int c, int d, int e>
typedef Container::Scalar CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > >::value_type2D

Definition at line 44 of file ContainerTraits.hh.

Member Function Documentation

◆ cols()

template<typename _value_type , int a, int b, int c, int d, int e>
static size_type CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > >::cols ( const Container mat)
inlinestatic

Return size of container.

Definition at line 54 of file ContainerTraits.hh.

◆ rows()

template<typename _value_type , int a, int b, int c, int d, int e>
static size_type CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > >::rows ( const Container mat)
inlinestatic

Return size of container.

Definition at line 51 of file ContainerTraits.hh.

◆ size()

template<typename _value_type , int a, int b, int c, int d, int e>
static size_type CASM::ContainerTraits< Eigen::Matrix< _value_type, a, b, c, d, e > >::size ( const Container mat)
inlinestatic

Return size of container.

Definition at line 48 of file ContainerTraits.hh.


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