ALPSCore reference
|
#include <core.hpp>
Public Types | |
typedef T | value_type |
Public Types inherited from alps::alea::view< T > | |
typedef T | value_type |
Public Member Functions | |
ndview () | |
ndview (T *data, const size_t *shape, size_t ndim) | |
ndview (T *data, size_t size, const size_t *shape, size_t ndim) | |
const size_t * | shape () const |
size_t | ndim () const |
Public Member Functions inherited from alps::alea::view< T > | |
view () | |
view (T *data, size_t size) | |
T * | data () |
const T * | data () const |
size_t | size () const |
Static Protected Member Functions | |
static size_t | compute_size (const size_t *shape, size_t ndim) |
Data view as a thin wrapper around a continuous multi-dimensional array.
Basically collects a pointer continuous array in ROW-MAJOR format (vector, transposed Eigen array, C array etc.) together with its shape. Note that the view neither owns the data
pointer nor the shape
pointer. Thus it amends view<T>
with shape information.
typedef T alps::alea::ndview< T >::value_type |
|
inline |
|
inline |
|
inline |
|
inlinestaticprotected |
|
inline |
|
inline |