Click or drag to resize

CreateVectorSparseOfArrayT Method

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.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Vector<T> SparseOfArray<T>(
	T[] array
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

array  T

[Missing <param name="array"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.SparseOfArray``1(``0[])"]

Type Parameters

T

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

Return Value

VectorT

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateVector.SparseOfArray``1(``0[])"]

See Also