Click or drag to resize

CreateVector.Dense Method

Overload List
 NameDescription
Public methodStatic memberDense<T>(T[]) Create a dense vector of T that is directly bound to the specified array.
Public methodStatic memberDense<T>(DenseVectorStorage<T>) Create a new dense 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 memberDense<T>(Int32) Create a dense vector of T with the given size.
Public methodStatic memberDense<T>(Int32, T) Create a new dense vector and initialize each value using the provided value.
Public methodStatic memberDense<T>(Int32, Func<Int32, T>) Create a new dense vector and initialize each value using the provided init function.
Top
See Also