Flow123d
release_3.0.0-1182-ga9abfa7
|
#include <armor.hh>
Public Member Functions | |
Array (uint size, uint nr, uint nc=1) | |
void | resize (uint size) |
void | push_back (const std::vector< Type > &p) |
template<uint nr, uint nc = 1> | |
Mat< Type, nr, nc > | get (uint i) const |
Private Attributes | |
uint | nRows |
uint | nCols |
std::vector< Type > | data |
Array of Armor::Mat with given shape. Provides contiguous storage for the data and access to the array elements. The shape of the matrices is specified at run time, so the class Array is independent of additional template parameters. However, to access the array elements, one must use the templated method get().
|
inline |
|
inline |
Return matrix at given position in array. The returned object is a Armor::Mat pointing to the respective data block in the Array's storage.
i | Index of matrix. |
Definition at line 162 of file armor.hh.
|
inline |
|
inline |
|
private |
|
private |
|
private |