Click or drag to resize

WorksheetAnalysisEnsureMatchingXOfX Method

Compares the two arrays and throws an InvalidOperationException if the data not match.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void EnsureMatchingXOfX(
	IReadOnlyList<double> xOfXPredicition,
	IReadOnlyList<double> xOfXModel
)

Parameters

xOfXPredicition  IReadOnlyListDouble
The x of x predicition.
xOfXModel  IReadOnlyListDouble
The x of x model.
Exceptions
ExceptionCondition
InvalidOperationException Number of spectral points after preprocessing ({xOfXPredicition}) does not match number of spectal points of model ({xOfXModel.Count}) or X-values of preprocessed data: x[{i}]={xOfXPredicition[i]} does not match that of the model: x[{i}]={xOfXModel[i]}
See Also