#include <array.h>
Public Member Functions | |
_ArrayMemory () | |
_ArrayMemory (size_t size) | |
_ArrayMemory (size_t size, dtype const &val) | |
_ArrayMemory (dtype *data, size_t size) | |
size_t | size () const |
dtype * | data () |
dtype const * | data () const |
This manages the data of the Array class. This can act as a simple wrapper for a vector, or wrap an externally allocated block of memory.
pele::_ArrayMemory< dtype >::_ArrayMemory | ( | ) | [inline] |
pele::_ArrayMemory< dtype >::_ArrayMemory | ( | size_t | size | ) | [inline] |
pele::_ArrayMemory< dtype >::_ArrayMemory | ( | size_t | size, |
dtype const & | val | ||
) | [inline] |
pele::_ArrayMemory< dtype >::_ArrayMemory | ( | dtype * | data, |
size_t | size | ||
) | [inline] |
dtype* pele::_ArrayMemory< dtype >::data | ( | ) | [inline] |
dtype const* pele::_ArrayMemory< dtype >::data | ( | ) | const [inline] |
size_t pele::_ArrayMemory< dtype >::size | ( | ) | const [inline] |