Click or drag to resize

FitLinearCombinationFunc(Double, Double, FuncDouble, Double) Method

Least-Squares fitting the points (x,y) to an arbitrary linear combination y : x -> p0*f0(x) + p1*f1(x) + ... + pk*fk(x), returning a function y' for the best fitting combination.

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

Parameters

x  Double

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

y  Double

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

functions  FuncDouble, Double

[Missing <param name="functions"/> documentation for "M:Altaxo.Calc.Fit.LinearCombinationFunc(System.Double[],System.Double[],System.Func{System.Double,System.Double}[])"]

Return Value

FuncDouble, Double

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

See Also