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

◆ dump_array_values()

template<class T >
void aff::dump_array_values ( const ConstArray< T > &  array,
const Tdim i = (Strided::Mmax_dimen-1),
std::ostream &  os = std::cout 
)

Dump array values only.

Definition at line 140 of file dump_array.h.

References AFF_assert, aff::anonymous_namespace{dump_array.h}::dump_array_helper(), aff::ConstArray< T >::first(), and aff::Strided::Mmax_dimen.

Referenced by dump_array().

143 {
144  AFF_assert((i<Strided::Mmax_dimen),
145  "ERROR (dump_map): illegal dimensionality");
146  Strided::TIndexVec index(array.first());
147  dump_array_helper(array, i, i, index, os);
148 }
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
void dump_array_helper(const aff::ConstArray< T > &array, const Tdim &i, const Tdim &j, Strided::TIndexVec &index, std::ostream &os)
recursive usage tests all access functions
Definition: dump_array.h:67
Here is the call graph for this function:
Here is the caller graph for this function: