Click or drag to resize

FitMultiDimFunc Method

Least-Squares fitting the points (X,y) = ((x0,x1,..,xk),y) to a linear surface y : X -> p0*x0 + p1*x1 + ... + pk*xk, returning a function y' for the best fitting combination. If an intercept is added, its coefficient will be prepended to the resulting parameters.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Func<double[], double> MultiDimFunc(
	double[][] x,
	double[] y,
	bool intercept = false,
	DirectRegressionMethod method = DirectRegressionMethod.NormalEquations
)

Parameters

x  Double

[Missing <param name="x"/> documentation for "M:Altaxo.Calc.Fit.MultiDimFunc(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

y  Double

[Missing <param name="y"/> documentation for "M:Altaxo.Calc.Fit.MultiDimFunc(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

intercept  Boolean  (Optional)

[Missing <param name="intercept"/> documentation for "M:Altaxo.Calc.Fit.MultiDimFunc(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

method  DirectRegressionMethod  (Optional)

[Missing <param name="method"/> documentation for "M:Altaxo.Calc.Fit.MultiDimFunc(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

Return Value

FuncDouble, Double

[Missing <returns> documentation for "M:Altaxo.Calc.Fit.MultiDimFunc(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

See Also