Click or drag to resize

VectorMathGetConstantVector(Int16, Int32) Method

Gets a vector with all elements equal to a provided value.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IReadOnlyList<short> GetConstantVector(
	short value,
	int length
)

Parameters

value  Int16
Value of all elements.
length  Int32
Length of the vector.

Return Value

IReadOnlyListInt16
Read-only vector with all elements equal to the provided value.
See Also