Click or drag to resize

FitExponential Method

Least-Squares fitting the points (x,y) to an exponential y : x -> a*exp(r*x), returning its best fitting parameters as (a, r) tuple.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static (double A, double R) Exponential(
	double[] x,
	double[] y,
	DirectRegressionMethod method = DirectRegressionMethod.QR
)

Parameters

x  Double

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

y  Double

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

method  DirectRegressionMethod  (Optional)

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

Return Value

ValueTupleDouble, Double

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

See Also