MyraMath
|
Container of values, allows random (i,j) access. More...
#include <Array2.h>
Public Member Functions | |
Array2 () | |
Default constructs to 0x0 size. | |
Array2 (int in_I, int in_J, T filler) | |
Constructs with specified size and filler. | |
Array2 (int II, int JJ, std::initializer_list< T > list) | |
Constructs from std::initializer_list<T> in row-major order. | |
Array2 (InputStream &in) | |
InputStream constructor. | |
void | write (OutputStream &out) const |
Writes to OutputStream. | |
const T & | operator() (int i, int j) const |
Random accessor/mutator. | |
T & | operator() (int i, int j) |
void | swap (Array2 &that) |
Member swap. | |
std::pair< int, int > | size () const |
Size inspector. | |
Container of values, allows random (i,j) access.