Click or drag to resize

CreateVector.Sparse<T>(SparseVectorStorage<T>) 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.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntax
C#
public static Vector<T> Sparse<T>(
	SparseVectorStorage<T> storage
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

storage  SparseVectorStorage<T>

[Missing <param name="storage"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.Sparse``1(Altaxo.Calc.LinearAlgebra.Storage.SparseVectorStorage{``0})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.Sparse``1(Altaxo.Calc.LinearAlgebra.Storage.SparseVectorStorage{``0})"]

Return Value

Vector<T>

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.Sparse``1(Altaxo.Calc.LinearAlgebra.Storage.SparseVectorStorage{``0})"]

See Also