CreateVectorSparseT(SparseVectorStorageT) Method |
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.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static Vector<T> Sparse<T>(
SparseVectorStorage<T> storage
)
where T : struct, new(), IEquatable<T>, IFormattable
Parameters
- storage SparseVectorStorageT
- The storage backing the vector.
Type Parameters
- T
- The element type of the vector.
Return Value
VectorTThe created vector.
See Also