Click or drag to resize

DenseVector Constructor

Overload List
 NameDescription
Public methodDenseVector(DenseVectorStorageDouble) 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 methodDenseVector(Double) Create a new dense vector directly binding to a raw array. The array is used directly without copying. Very efficient, but changes to the array and the vector will affect each other.
Public methodDenseVector(Int32) Create a new dense vector with the given length. All cells of the vector will be initialized to zero.
Top
See Also