Click or drag to resize

MatrixBuilderTSparse Method

Overload List
 NameDescription
Public methodSparse(SparseCompressedRowMatrixStorageT) 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 methodSparse(Int32, Int32) Create a sparse matrix of T with the given number of rows and columns.
Public methodSparse(Int32, Int32, T) Create a new sparse matrix and initialize each value to the same provided value.
Public methodSparse(Int32, Int32, FuncInt32, Int32, T) Create a new sparse matrix and initialize each value using the provided init function.
Top
See Also