Click or drag to resize

SparseVector Constructor

Overload List
 NameDescription
Public methodSparseVector(Int32) Create a new sparse vector with the given length. All cells of the vector will be initialized to zero.
Public methodSparseVector(SparseVectorStorageSingle) Create a new sparse vector straight from an initialized vector 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.
Top
See Also