BivariateSampleNonlinearRegression Method |
Namespace: Meta.Numerics.Statistics
public NonlinearRegressionResult NonlinearRegression( Func<IReadOnlyList<double>, double, double> f, IReadOnlyList<double> start )
Exception | Condition |
---|---|
ArgumentNullException | f or start is null. |
InsufficientDataException | There are not more data points than fit parameters. |
DivideByZeroException | The curvature matrix is singular, indicating that the data is independent of one or more parameters, or that two or more parameters are linearly dependent. |
In the returned FitResult, the parameters appear in the same order as in the supplied fit function and initial guess vector. No goodness-of-fit test is returned.