|
QDP++
|
Container for a multi-dimensional 3D array. More...
#include <qdp_multi.h>
Public Member Functions | |
| multi3d () | |
| multi3d (T *f, int ns3, int ns2, int ns1) | |
| multi3d (int ns3, int ns2, int ns1) | |
| ~multi3d () | |
| multi3d (const multi3d &s) | |
| Copy constructor. | |
| void | resize (int ns3, int ns2, int ns1) |
| Allocate mem for the array. | |
| int | size1 () const |
| Size of array. | |
| int | size2 () const |
| int | size3 () const |
| int | leftSize () const |
| Another variant on the size of the 3d array. | |
| int | middleSize () const |
| int | rightSize () const |
| multi3d< T > & | operator= (const multi3d< T > &s1) |
| Equal operator uses underlying = of T. | |
| template<class T1> | |
| multi3d< T > & | operator= (const T1 &s1) |
| Equal operator uses underlying = of T. | |
| const T * | slice (int k, int j) const |
| Return ref to a column slice. | |
| T & | operator() (int k, int j, int i) |
| Return ref to an element. | |
| const T & | operator() (int k, int j, int i) const |
| Return const ref to an element. | |
| multi2d< T > | operator[] (int k) |
| Return ref to an element. | |
| const multi2d< T > | operator[] (int k) const |
| Return const ref to an element. | |
Container for a multi-dimensional 3D array.
Definition at line 732 of file qdp_multi.h.
|
inline |
Definition at line 735 of file qdp_multi.h.
Referenced by multi3d(), operator=(), and operator=().
|
inline |
Definition at line 736 of file qdp_multi.h.
|
inlineexplicit |
Definition at line 737 of file qdp_multi.h.
References resize().
|
inline |
Definition at line 738 of file qdp_multi.h.
|
inline |
|
inline |
Another variant on the size of the 3d array.
Definition at line 775 of file qdp_multi.h.
|
inline |
Definition at line 776 of file qdp_multi.h.
|
inline |
Return ref to an element.
Definition at line 808 of file qdp_multi.h.
|
inline |
Return const ref to an element.
Definition at line 811 of file qdp_multi.h.
|
inline |
|
inline |
Equal operator uses underlying = of T.
Definition at line 791 of file qdp_multi.h.
References multi3d().
|
inline |
Return ref to an element.
Definition at line 814 of file qdp_multi.h.
|
inline |
Return const ref to an element.
Definition at line 817 of file qdp_multi.h.
|
inline |
Allocate mem for the array.
Definition at line 750 of file qdp_multi.h.
References QDP::QDP_error_exit().
Referenced by multi3d(), multi3d(), operator=(), and QDP::read().
|
inline |
Definition at line 777 of file qdp_multi.h.
|
inline |
Size of array.
Definition at line 770 of file qdp_multi.h.
Referenced by operator=(), QDP::read(), and QDP::write().
|
inline |
Definition at line 771 of file qdp_multi.h.
Referenced by operator=(), QDP::read(), and QDP::write().
|
inline |
Definition at line 772 of file qdp_multi.h.
Referenced by operator=(), QDP::read(), and QDP::write().
|
inline |
Return ref to a column slice.
Definition at line 805 of file qdp_multi.h.