|
QDP++
|
Container for a multi-dimensional 5D array. More...
#include <qdp_multi.h>
Public Member Functions | |
| multi5d () | |
| multi5d (T *f, int ns5, int ns4, int ns3, int ns2, int ns1) | |
| multi5d (int ns4, int ns3, int ns2, int ns1) | |
| ~multi5d () | |
| multi5d (const multi5d &s) | |
| Copy constructor. | |
| void | resize (int ns5, int ns4, int ns3, int ns2, int ns1) |
| Allocate mem for the array. | |
| int | size1 () const |
| Size of array. | |
| int | size2 () const |
| int | size3 () const |
| int | size4 () const |
| int | size5 () const |
| multi5d< T > & | operator= (const multi5d< T > &s1) |
| Equal operator uses underlying = of T. | |
| template<class T1> | |
| multi5d< T > & | operator= (const T1 &s1) |
| Equal operator uses underlying = of T. | |
| const T * | slice (int m, int l, int k, int j) const |
| Return ref to a column slice. | |
| T & | operator() (int m, int l, int k, int j, int i) |
| Return ref to an element. | |
| const T & | operator() (int m, int l, int k, int j, int i) const |
| Return const ref to an element. | |
| multi4d< T > | operator[] (int m) |
| Return ref to an element. | |
| const multi4d< T > | operator[] (int m) const |
| Return const ref to an element. | |
Container for a multi-dimensional 5D array.
Definition at line 927 of file qdp_multi.h.
|
inline |
Definition at line 930 of file qdp_multi.h.
Referenced by multi5d(), operator=(), and operator=().
|
inline |
Definition at line 931 of file qdp_multi.h.
|
inlineexplicit |
Definition at line 932 of file qdp_multi.h.
References resize().
|
inline |
Definition at line 933 of file qdp_multi.h.
|
inline |
|
inline |
Return ref to an element.
Definition at line 1000 of file qdp_multi.h.
|
inline |
Return const ref to an element.
Definition at line 1003 of file qdp_multi.h.
|
inline |
|
inline |
Equal operator uses underlying = of T.
Definition at line 983 of file qdp_multi.h.
References multi5d().
|
inline |
Return ref to an element.
Definition at line 1006 of file qdp_multi.h.
|
inline |
Return const ref to an element.
Definition at line 1009 of file qdp_multi.h.
|
inline |
Allocate mem for the array.
Definition at line 945 of file qdp_multi.h.
References QDP::QDP_error_exit().
Referenced by multi5d(), multi5d(), operator=(), and QDP::read().
|
inline |
Size of array.
Definition at line 965 of file qdp_multi.h.
Referenced by operator=(), QDP::read(), and QDP::write().
|
inline |
Definition at line 966 of file qdp_multi.h.
Referenced by operator=(), QDP::read(), and QDP::write().
|
inline |
Definition at line 967 of file qdp_multi.h.
Referenced by operator=(), QDP::read(), and QDP::write().
|
inline |
Definition at line 968 of file qdp_multi.h.
Referenced by operator=(), QDP::read(), and QDP::write().
|
inline |
Definition at line 969 of file qdp_multi.h.
Referenced by operator=(), QDP::read(), and QDP::write().
|
inline |
Return ref to a column slice.
Definition at line 997 of file qdp_multi.h.