treams.util.AnnotatedArray.diagonal

AnnotatedArray.diagonal(offset=0, axis1=0, axis2=1)

Get the diagonal of the array.

See also numpy.ndarray.diagonal().