LinearFitBySvdFitPolymomialDestructive Method |
Fits data provided as xcolumn and ycolumn with a polynomial base. Here special measures are taken (scaling of the x-variable) in order
to keep the precision high.
Namespace: Altaxo.Calc.RegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static LinearFitBySvd FitPolymomialDestructive(
int order,
double[] xValues,
double[] yValues,
double[]? errorValues,
int count
)
Parameters
- order Int32
- The order of the fit (1:linear, 2:quadratic, etc.)
- xValues Double
- The array of x-values. The values of the array are destroyed (altered) during the evaluation!
- yValues Double
- The array of y-values.
- errorValues Double
- The column of errorValues. If null, errorValues are set to 1 for each element.
- count Int32
- Number of values to use (array[0] ... array[count-1].
Return Value
LinearFitBySvdThe fit.
See Also