Click or drag to resize

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

Parameters

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

Return Value

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