Return specified diagonals.
Refer to numpy.diagonal for full documentation.
See also
numpy.ndarray.compress
numpy.ndarray.argmax