Flatten array to one dimension.
See also numpy.ndarray.flatten().
numpy.ndarray.flatten()
treams.TMatrix.diagonal
treams.TMatrix.max