Fits the data to an arbitrary parameterized function.
Namespace: Meta.Numerics.StatisticsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
| C# | Visual Basic | Visual C++ | F# |
Parameters
- start
- array<Double>[]()[][]
An initial guess at the parameters.
Return Value
A fit result containing the best-fitting function parameters and a χ2 test of the quality of the fit.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | function or start are null. |
| Meta.Numerics.Statistics..::..InsufficientDataException | There are fewer data points than fit parameters. |