Click or drag to resize

SparseMatrix Constructor

Overload List
 NameDescription
Public methodSparseMatrix(Int32) Create a new square sparse matrix with the given number of rows and columns. All cells of the matrix will be initialized to zero.
Public methodSparseMatrix(SparseCompressedRowMatrixStorageComplex) Create a new sparse matrix straight from an initialized matrix storage instance. The storage is used directly without copying. Intended for advanced scenarios where you're working directly with storage for performance or interop reasons.
Public methodSparseMatrix(Int32, Int32) Create a new sparse matrix with the given number of rows and columns. All cells of the matrix will be initialized to zero.
Top
See Also