Click or drag to resize

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

Fits a data set linearly to a given design matrix.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.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 base values of the data set. Dimensions: numberOfData x numberOfParameters. The matrix is changed during the 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 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 number of columns of xbase).
threshold  Double
A threshold value (usually 1E-5) used to discard unimportant singular values.
See Also