Tenncor
|
Shaped array wraps around a vector and shape. More...
#include <shaped_arr.hpp>
Public Member Functions | |
ShapedArr (void)=default | |
ShapedArr (teq::Shape shape, T data=0) | |
Public Attributes | |
std::vector< T > | data_ |
Vector of size equal to shape_.n_elems() More... | |
teq::Shape | shape_ |
Tensor shape of data_. More... | |
Shaped array wraps around a vector and shape.
|
default |
|
inline |
std::vector<T> eteq::ShapedArr< T >::data_ |
Vector of size equal to shape_.n_elems()
teq::Shape eteq::ShapedArr< T >::shape_ |
Tensor shape of data_.