Return the indices to access the main diagonal of an n-dimensional array.
See diag_indices for full details.
See also
diag_indices
Notes
New in version 1.4.0.