Click or drag to resize

CreateVectorSparse Method

Overload List
 NameDescription
Public methodStatic memberSparseT(Int32) Create a sparse vector of T with the given size.
Public methodStatic memberSparseT(SparseVectorStorageT) 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.
Public methodStatic memberSparseT(Int32, T) Create a new sparse vector and initialize each value using the provided value.
Public methodStatic memberSparseT(Int32, FuncInt32, T) Create a new sparse vector and initialize each value using the provided init function.
Top
See Also