Click or drag to resize

DynamicParameterEstimationVariableXGetXCountFromNumberOfParametersAndLength(Int32, Int32, Int32, Double) Method

Calculates an xcount array given both the number of parameters and the desired total length.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static int[] GetXCountFromNumberOfParametersAndLength(
	int numX,
	int start,
	ref int totallength,
	out double factor
)

Parameters

numX  Int32
The number of x parameters (array length).
start  Int32
Index at which grouping is allowed to start.
totallength  Int32
Desired total history length. This parameter is passed by reference but is not modified by this method.
factor  Double
On return, gets the factor used to construct an array matching totallength.

Return Value

Int32
The calculated xcount array.
See Also