Template Class data_traits< boost::multi_array< T, N > >

Class Documentation

template<typename T, size_t N>
class data_traits<boost::multi_array<T, N>>

Public Types

typedef boost::multi_array<T, N> value_type
typedef value_type &reference
typedef const value_type &const_reference
typedef T element_type
typedef T *element_pointer
typedef const T *const_element_pointer

Public Static Functions

static inline DataType data_type(const_reference val)
static inline NDSize shape(const value_type &value)
static inline size_t num_elements(const_reference value)
static inline const_element_pointer get_data(const value_type &value)
static inline element_pointer get_data(value_type &value)
static inline void resize(reference value, const NDSize &dims)
static inline void check_rank(size_t rank)