Click or drag to resize

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

Fits a data set linearly to a given function base.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.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 if the standard deviations are unknown.
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 (equals the size of the function base).
evaluateFunctionBase  FunctionBaseEvaluator
The function base used for fitting.
threshold  Double
A threshold value (usually 1E-5) used to discard unimportant singular values.
See Also