|
| Array2D () |
|
| Array2D (int m, int n) |
|
| Array2D (const Array2D &)=default |
|
void | SetSize (int m, int n) |
|
int | NumRows () const |
|
int | NumCols () const |
|
const T & | operator() (int i, int j) const |
|
T & | operator() (int i, int j) |
|
const T * | operator[] (int i) const |
|
T * | operator[] (int i) |
|
const T * | operator() (int i) const |
|
T * | operator() (int i) |
|
const T * | GetRow (int i) const |
|
T * | GetRow (int i) |
|
void | GetRow (int i, Array< T > &sa) const |
| Extract a copy of the i-th row into the Array sa. More...
|
|
void | Save (std::ostream &os, int fmt=0) const |
| Save the Array2D to the stream out using the format fmt. The format fmt can be: More...
|
|
void | Load (std::istream &in, int fmt=0) |
| Read an Array2D from the stream in using format fmt. The format fmt can be: More...
|
|
void | Load (const char *filename, int fmt=0) |
| Read an Array2D from a file. More...
|
|
void | Load (int new_size0, int new_size1, std::istream &in) |
| Set the Array2D dimensions to new_size0 x new_size1 and read that many entries from the stream in. More...
|
|
void | Copy (Array2D ©) const |
|
void | operator= (const T &a) |
|
Array2D & | operator= (const Array2D &a)=default |
|
void | MakeRef (const Array2D &master) |
| Make this Array a reference to 'master'. More...
|
|
void | DeleteAll () |
| Delete all dynamically allocated memory, resetting all dimensions to zero. More...
|
|
void | Print (std::ostream &out=mfem::out, int width=4) |
| Prints array to stream with width elements per row. More...
|
|
template<class T>
class mfem::Array2D< T >
Dynamic 2D array using row-major layout.
Definition at line 354 of file array.hpp.