Click or drag to resize

VectorMathCreateEquidistantSequencyByStartAtOffsetStepLength(Double, Int32, Double, Int32) Method

Creates a read-only vector with equidistant elements from start - startOffset*step to start + (length - 1 -startOffset)*step. The created vector consumes memory only for the three variables, independent of its length.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IReadOnlyList<double> CreateEquidistantSequencyByStartAtOffsetStepLength(
	double start,
	int startOffset,
	double step,
	int length
)

Parameters

start  Double
Value of the element of the vector at index startOffset).
startOffset  Int32
Index of the element of the vector which gets the value of start.
step  Double
Difference between two successive elements.
length  Int32
Length of the vector.

Return Value

IReadOnlyListDouble
Read-only vector with equidistant elements from start - startOffset*step to start + (length - 1 -startOffset)*step.
See Also