FreePOOMA
2.4.1
|
Extract the elements of an Array and print out the contents to a stream with some nice formatting. More...
Classes | |
struct | PerformPrintArray< S, A, Dim, DomainType > |
PerformPrintArray struct: a simple wrapper around the templated 'print' method of PrintArray. More... | |
struct | PerformPrintArray< S, A, 1, DomainType > |
class | PrintArray |
PrintArray is a utility program for Array objects, used to print (nicely) the contents of an array to a provided stream. More... |
Extract the elements of an Array and print out the contents to a stream with some nice formatting.
The user can select how many elements to print per line, the precision, format, etc. This is done by constructing an PrintArray, and calling the 'print' method with the stream to print to and the array to print. Also allows passing in a domain argument specifying a view (subset) of the Array elements; the output shows the global-index-space index values for the view.