161 section(
"Array A after being created:");
166 section(
"Array A after all elements being set to 5.2:");
171 section(
"Demonstrate effect of shallow copy",
'=');
184 section(
"Array A after assignment to B and to A:");
189 section(
"Demonstrate effect of deep copy",
'=');
195 section(
"Array B after assignment to B:");
197 section(
"Array A after assignment to B:");
202 section(
"Demonstrate array usage with custom index range",
'=');
209 section(
"Array A after being assigned to array of different shape:");
Array< T > copyout() const
create an identical copy (deep copy) of this array
void section(const char *s, const char l='-')
Full multi-dimensional array functionality.This is the full array class template. It adds no addition...
Shaper class for Fortran layout.
#define ARRAYEXAMPLE_VERSION