获得矩阵对角线元素的索引 numpy.diag_indices_from() - 知乎

获得矩阵对角线元素的索引 numpy.diag_indices_from() - 知乎