distributed.speye
分散スパース単位行列を作成する
構文
DS = distributed.speye(n)
DS = distributed.speye(m,n)
DS = distributed.speye([m,n])
説明
DS = distributed.speye(n)
は、基になるクラスが double である n
行 n
列のスパース分散配列を作成します。
DS = distributed.speye(m,n)
または DS = distributed.speye([m,n])
は、基になるクラスが double である m
行 n
列のスパース分散配列を作成します。
例
1000 行 1000 列の分散スパース単位行列を作成します。
N = 1000; DS = distributed.speye(N);
バージョン履歴
R2009b で導入