SpsMatUtil¶
Usage
use SparseMatrix.SpsMatUtil;
or
import SparseMatrix.SpsMatUtil;
- config const seed = 0¶
- var rands = if seed == 0 then new randomStream(real) else new randomStream(real, seed)¶
- proc randSparseDomain(parentDom, density, param matLayout, param distributed) where distributed == false¶
- proc randSparseDomain(parentDom, density, param matLayout, param distributed) where distributed == true
- proc emptySparseDomLike(Mat)¶
- proc writeSparseMatrix(msg, Arr)¶
- proc makeSparseMat(parentDom, spsData)¶
- proc makeSparseMat(parentDom, nnzs, vals)