Click or drag to resize

VectorMathGetConstantVector(Single, 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<float> GetConstantVector(
	float value,
	int length
)

Parameters

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

Return Value

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