AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ dump() [2/5]

template<class T , Tsize N>
void aff::dump ( const aff::SimpleRigidArray< T, N > &  array,
std::ostream &  os = std::cout 
)

Dump aff::SimpleRigidArray.

Definition at line 55 of file dump_simplerigidarray.h.

56 {
57  int i=0;
58  for (aff::Tsize k=0; k<N; k++)
59  {
60  if (!i) { os << " "; }
61  os.width(9);
62  os << array[k] << " ";
63  if (++i>7) { i=0; os << endl; }
64  }
65  os << endl;
66 }
size_t Tsize
Type to hold the size of an array dimension.
Definition: types.h:51