Click or drag to resize

LinearFitBySvd(IROMatrixDouble, Double, Double, Int32, Int32, Double) Constructor

Fits a data set linear to a given x base.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public LinearFitBySvd(
	IROMatrix<double> xbase,
	double[] yarr,
	double[]? stddev,
	int numberOfData,
	int numberOfParameter,
	double threshold
)

Parameters

xbase  IROMatrixDouble
The matrix of x values of the data set. Dimensions: numberOfData x numberOfParameters. The matrix is changed during calculation!
yarr  Double
The array of y values of the data set.
stddev  Double
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.
threshold  Double
A treshold value (usually 1E-5) used to chop the unimportant singular values away.
See Also