Click or drag to resize

VectorBuilderTSparse Method

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