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.
Create a new dense vector as a copy of the given array.
This new vector will be independent from the array.
A new memory block will be allocated for storing the vector.
Create a new dense vector as a copy of the given enumerable.
This new vector will be independent from the enumerable.
A new memory block will be allocated for storing the vector.
Create a new dense vector as a copy of the given indexed enumerable.
Keys must be provided at most once, zero is assumed if a key is omitted.
This new vector will be independent from the enumerable.
A new memory block will be allocated for storing the vector.
Create a new dense vector as a copy of the given other vector.
This new vector will be independent from the other vector.
A new memory block will be allocated for storing the vector.
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.
Create a new sparse vector as a copy of the given array.
This new vector will be independent from the array.
A new memory block will be allocated for storing the vector.
Create a new sparse vector as a copy of the given enumerable.
This new vector will be independent from the enumerable.
A new memory block will be allocated for storing the vector.
Create a new sparse vector as a copy of the given indexed enumerable.
Keys must be provided at most once, zero is assumed if a key is omitted.
This new vector will be independent from the enumerable.
A new memory block will be allocated for storing the vector.
Create a new sparse vector as a copy of the given other vector.
This new vector will be independent from the other vector.
A new memory block will be allocated for storing the vector.
Create a new vector straight from an initialized matrix storage instance.
If you have an instance of a discrete storage type instead, use their direct methods instead.