cupy.diag_indices_from#
- cupy.diag_indices_from(arr)[source]#
Return the indices to access the main diagonal of an n-dimensional array. See diag_indices for full details.
- Parameters:
arr (cupy.ndarray) – At least 2-D.
See also
Site Navigation
Section Navigation
ndarray
)
cupy.ufunc
)cupy.fft
)cupy.linalg
)cupy.random
)cupy.testing
)cupyx.scipy.fft
)cupyx.scipy.fftpack
)
cupyx.scipy.interpolate
)cupyx.scipy.linalg
)cupyx.scipy.ndimage
)cupyx.scipy.signal
)cupyx.scipy.signal.windows
)cupyx.scipy.sparse
)cupyx.scipy.sparse.linalg
)cupyx.scipy.sparse.csgraph
)
cupyx.scipy.spatial
)
cupyx.scipy.spatial.distance
)cupyx.scipy.special
)cupyx.scipy.stats
)
Return the indices to access the main diagonal of an n-dimensional array. See diag_indices for full details.
arr (cupy.ndarray) – At least 2-D.
See also