dpnp.diag_indices_from

dpnp.diag_indices_from(x1)[source]

Return the indices to access the main diagonal of an n-dimensional array.

For full documentation refer to numpy.diag_indices_from.

See also

diag_indices

Return the indices to access the main diagonal of an array.