方法
memmap.
diagonal
返回指定的对角线。在numpy 1.9中,返回的数组是只读视图,而不是以前numpy版本中的副本。在将来的版本中,将删除只读限制。
参照 numpy.diagonal 完整文件。
numpy.diagonal
参见
等效函数