FitLinearMultiDimFunc(Double, Double, FuncDouble, Double) Method |
Least-Squares fitting the points (X,y) = ((x0,x1,..,xk),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.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static Func<double[], double> LinearMultiDimFunc(
double[][] x,
double[] y,
params Func<double[], double>[] functions
)
Parameters
- x Double
- The predictor vectors.
- y Double
- The response values.
- functions FuncDouble, Double
- The basis functions of the linear combination.
Return Value
FuncDouble,
DoubleA function representing the fitted linear combination.
See Also