建立分布式稀疏单位矩阵
DS = distributed.speye (n)
DS = distributed.speye (m, n)
DS = distributed.speye ([m, n])
DS = distributed.speye (n)
创建一个n
——- - - - - -n
底层类double的稀疏分布数组。
DS = distributed.speye (m, n)
或DS = distributed.speye ([m, n])
创建一个米
——- - - - - -n
底层类double的稀疏分布数组。
创建一个1000 × 1000的分布式稀疏单位矩阵:
N = 1000;DS = distributed.speye (N);