|
QDP++
|
3d array, with 1-based indices More...
#include <qdp_arrays.h>
Public Member Functions | |
| Array3dO () | |
| Array3dO (int n) | |
| Array3dO (int n3, int n2, int n1) | |
| ~Array3dO () | |
| Array3dO (const Array3dO &s) | |
| Copy constructor. | |
| void | resize (int n3, int n2, int n1) |
| void | resize (int n) |
| int | size () const |
| int | size1 () const |
| int | size2 () const |
| int | size3 () const |
| int | leftSize () const |
| Another variant on the size of the 3d array. | |
| int | middleSize () const |
| int | rightSize () const |
| Array3dO & | operator= (const Array3dO &s) |
| template<typename T1> | |
| Array3dO< T > & | operator= (const T1 &s1) |
| Equal operator uses underlying = of T. | |
| T & | operator() (int i, int j, int k) |
| Return ref to an element. | |
| const T & | operator() (int i, int j, int k) const |
| Return const ref to an element. | |
| const multi3d< T > & | ref () const |
| Return ref to underlying array. | |
| multi3d< T > & | ref () |
| Return ref to underlying array. | |
3d array, with 1-based indices
Definition at line 110 of file qdp_arrays.h.
|
inline |
Definition at line 113 of file qdp_arrays.h.
Referenced by Array3dO(), operator=(), and operator=().
|
inlineexplicit |
Definition at line 114 of file qdp_arrays.h.
|
inlineexplicit |
Definition at line 115 of file qdp_arrays.h.
|
inline |
Definition at line 116 of file qdp_arrays.h.
|
inline |
|
inline |
Another variant on the size of the 3d array.
Definition at line 129 of file qdp_arrays.h.
|
inline |
Definition at line 130 of file qdp_arrays.h.
|
inline |
Return ref to an element.
Definition at line 140 of file qdp_arrays.h.
|
inline |
Return const ref to an element.
Definition at line 143 of file qdp_arrays.h.
|
inline |
Definition at line 133 of file qdp_arrays.h.
References Array3dO().
|
inline |
Equal operator uses underlying = of T.
Definition at line 137 of file qdp_arrays.h.
References Array3dO().
|
inline |
Return ref to underlying array.
Definition at line 149 of file qdp_arrays.h.
|
inline |
Return ref to underlying array.
Definition at line 146 of file qdp_arrays.h.
|
inline |
Definition at line 122 of file qdp_arrays.h.
|
inline |
Definition at line 121 of file qdp_arrays.h.
|
inline |
Definition at line 131 of file qdp_arrays.h.
|
inline |
Definition at line 123 of file qdp_arrays.h.
|
inline |
Definition at line 124 of file qdp_arrays.h.
|
inline |
Definition at line 125 of file qdp_arrays.h.
|
inline |
Definition at line 126 of file qdp_arrays.h.