NumPy参考 >例行程序 >Indexing routines > numpy.diag_indices_from
numpy.
diag_indices_from
返回索引以访问n维数组的主对角线。
有关diag_indices完整的详细信息,请参见。
diag_indices
也可以看看
笔记
1.4.0版的新功能。