WorksheetAnalysisEnsureMatchingXOfX Method |
Compares the two arrays and throws an InvalidOperationException if the data not match.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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 Exception | Condition |
---|
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