Click or drag to resize

FitLinearGenericFuncT(T, Double, FuncT, Double) Method

Least-Squares fitting the points (T,y) = (T,y) to an arbitrary linear combination y : X -> p0*f0(T) + p1*f1(T) + ... + pk*fk(T), 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<T, double> LinearGenericFunc<T>(
	T[] x,
	double[] y,
	params Func<T, double>[] functions
)

Parameters

x  T

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

y  Double

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

functions  FuncT, Double

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

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.Fit.LinearGenericFunc``1(``0[],System.Double[],System.Func{``0,System.Double}[])"]

Return Value

FuncT, Double

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

See Also