Nonlinear Curve Class
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public abstract class NonlinearCurve : Curve
- Derived
Remarks
Use the NonlinearCurve class to represent a curve suitable for use in a non-linear curve fitting. The NonlinearCurveFitter class works only with curves that derive from NonlinearCurve. See this class for details on how to perform a least squares fit.
NonlinearCurve is an abstract class and cannot be instantiated directly. Instead, derive your own class from NonlinearCurve, or use one of the predefined classes listed in the following table:
Class | Description |
---|---|
Exponential | A sum of exponential terms. |
Four | A standard 4-parameter logistic curve. |
Five | A 5-parameter logistic curve that includes an asymmetry factor. |
Gaussian | A 4-parameter Gaussian 'bell' curve. |
Lorentz | A 4-parameter Lorentz peak curve. |
Rational | A quotient of two polynomials. |
Sine | A 4-parameter periodic curve. |
Note to inheritors: You must override the ValueAt(Double) method. If possible, you should also override the FillPartialDerivatives(Double, DenseVector<Double>) and SlopeAt(Double) methods. By default, a numerical approximation is used as the derivative.
Constructors
Nonlinear | Constructs a new NonlinearCurve object. |
Properties
Parameters |
Gets the collection of parameters that determine the shape of this
Curve.
(Inherited from Curve) |
Methods
Clone |
Constructs an exact copy of this instance.
(Inherited from Curve) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Fill | Fills a dense vector with the partial derivatives of the curve with respect to each of the curve parameters computed using numerical differentiation. |
Fill | Fills a dense vector with the partial derivatives of the curve with respect to each of the curve parameters. |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Find |
Gets the set of X-coordinates where the curve crosses
the X-axis.
(Inherited from Curve) |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
From | Returns a nonlinear curve defined by the specified expression. |
Get |
Returns a CurveFitter object that can be used to fit the curve to data.
(Overrides Curve.GetCurveFitter()) |
Get |
Returns a Curve that represents the derivative
of this Curve.
(Inherited from Curve) |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Returns a function that on each call returns a new nonlinear curve defined by the specified expression. |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Returns a vector containing initial values for the parameters for a curve fit through on the specified data. |
Get | Returns a vector with the partial derivatives of the curve with respect to each of the curve parameters. |
Get | Gets the Type of the current instance. (Inherited from Object) |
Integral |
Gets the definite integral of the curve between the
specified X-coordinates.
(Inherited from Curve) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
OnParameter |
Called after a Curve parameter has been changed.
(Inherited from Curve) |
OnParameter |
Called before the value of a curve parameter is changed.
(Inherited from Curve) |
Set |
Sets a curve parameter to the specified value.
(Inherited from Curve) |
Slope |
Gets the slope of the curve at the specified
X-coordinate.
(Inherited from Curve) |
Solve |
Finds the x value where the curve reaches the specified y value.
(Inherited from Curve) |
Tangent |
Gets the tangent line to the curve at the
specified X-coordinate.
(Inherited from Curve) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Value |
Gets the Y-value of the curve at the specified
X-coordinate.
(Inherited from Curve) |