Template Class Hydra

Class Documentation

template<typename T>
class Hydra

Public Types

typedef T value_type
typedef T &reference
typedef std::remove_const<T>::type vanilla_type
typedef data_traits<vanilla_type> data_traits_t
typedef data_traits_t::element_type element_t

Public Functions

inline Hydra(reference value_ref)
inline DataType element_data_type() const
inline NDSize shape() const
inline void resize(const NDSize &new_shape)
inline element_t *data()
inline const element_t *data() const