DynamicParameterEstimationVariableXGetXCountFromNumberOfParametersAndLength(Int32, Int32, Int32, Double) Method |
Calculates an xcount array given both the number of parameters and the desired total length.
Namespace: Altaxo.Calc.RegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic 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
Int32The calculated
xcount array.
See Also