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