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.
numpy.diag_indices
numpy.mask_indices
Enter search terms or a module, class or function name.