AFF --- A container for numbers (array) by Friederich and Forbriger.
|
std::ostream& operator<< | ( | std::ostream & | os, |
const aff::ConstArray< T > & | a | ||
) |
print values of an NxM array
This operator function can be used as an output operator for aff::Array and aff:ConstArray objects. It silently assumes that the passed array has only two dimensions. It then uses formatted stream output to display the contents of the array.
The function in particular demonstrates the use of array member functions size, first, and last in order to query the index value ranges for the two dimensions in use.
Definition at line 104 of file arrayexample.cc.