Click or drag to resize

FitLineThroughOriginFunc Method

Least-Squares fitting the points (x,y) to a line through origin y : x -> b*x, returning a function y' for the best fitting line.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Func<double, double> LineThroughOriginFunc(
	double[] x,
	double[] y
)

Parameters

x  Double

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

y  Double

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

Return Value

FuncDouble, Double

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

See Also