Click or drag to resize

LinearFitBySvd(IReadOnlyListDouble, IReadOnlyListDouble, IReadOnlyListDouble, Int32, Int32, FunctionBaseEvaluator, Double) Constructor

Fits a data set linear to a given function base.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public LinearFitBySvd(
	IReadOnlyList<double> xarr,
	IReadOnlyList<double> yarr,
	IReadOnlyList<double>? stddev,
	int numberOfData,
	int numberOfParameter,
	FunctionBaseEvaluator evaluateFunctionBase,
	double threshold
)

Parameters

xarr  IReadOnlyListDouble
The array of x values of the data set.
yarr  IReadOnlyListDouble
The array of y values of the data set.
stddev  IReadOnlyListDouble
The array of y standard deviations of the data set. Can be null if the standard deviation is unkown.
numberOfData  Int32
The number of data points (may be smaller than the array sizes of the data arrays).
numberOfParameter  Int32
The number of parameters to fit == size of the function base.
evaluateFunctionBase  FunctionBaseEvaluator
The function base used to fit.
threshold  Double
A treshold value (usually 1E-5) used to chop the unimportant singular values away.
See Also