pymor.tools.pprint¶
Module Contents¶
Functions¶
Creates a formatted string representation of a |
- pymor.tools.pprint.format_array(array, compact_print=False)[source]¶
Creates a formatted string representation of a
NumPy array.Parameters
- array
the
NumPy arrayto be formatted- compact_print
If
True, return a shorter version of string representation.
Returns
The string representation.