Click or drag to resize

CreateVectorSparseT(Int32) Method

Create a sparse vector of T with the given size.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static Vector<T> Sparse<T>(
	int size
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

size  Int32
The size of the vector.

Type Parameters

T
The element type of the vector.

Return Value

VectorT
The created vector.
See Also