Click or drag to resize

FitLogarithm Method

Least-Squares fitting the points (x,y) to a logarithm y : x -> a + b*ln(x), returning its best fitting parameters as (a, b) 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 B) Logarithm(
	double[] x,
	double[] y,
	DirectRegressionMethod method = DirectRegressionMethod.QR
)

Parameters

x  Double

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

y  Double

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

method  DirectRegressionMethod  (Optional)

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

Return Value

ValueTupleDouble, Double

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

See Also