Represents a Curve that can be used for a non-linear regression calculation.
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
Methods
| Icon | Type | Description |
|---|---|---|
| Clone() |
Constructs an exact copy of this instance.
| |
| Equals(Object) | ||
| FillPartialDerivatives(Double, GeneralVector) |
Fills a GeneralVector with the partial derivatives of the curve with respect to
each of the curve parameters.
| |
| Finalize() | ||
| FindRoots() |
Gets the set of X-coordinates where the curve crosses
the X-axis.
| |
| GetCurveFitter() |
Returns a CurveFitter object that can be used to fit the curve to data.
| |
| GetDerivative() | ||
| GetHashCode() | Serves as a hash function for a particular type. | |
| GetType() | Gets the Type of the current instance. | |
| Integral(Double, Double) |
Gets the definite integral of the curve between the
specified X-coordinates.
| |
| MemberwiseClone() | Creates a shallow copy of the current Object. | |
| OnParameterChanged(Int32, Double) |
Called after a Curve parameter has been changed.
| |
| OnParameterChanging(Int32, Double) |
Called before the value of a curve parameter is changed.
| |
| SetInitialValues(Vector, Vector) |
Sets the curve parameters to initial values based on the specified data.
| |
| SlopeAt(Double) |
Gets the slope of the curve at the specified
X-coordinate.
| |
| TangentAt(Double) |
Gets the tangent Line to the curve at the
specified X-coordinate.
| |
| ToString() | ||
| ValueAt(Double) |
Gets the Y-value of the curve at the specified
X-coordinate.
|
Constructors
| Icon | Type | Description |
|---|---|---|
| NonlinearCurveNew(Int32) |
Constructs a new NonlinearCurve object.
|
Properties
| Icon | Type | Description |
|---|---|---|
| Parameters |
Gets the collection of parameters that determine the shape of this
Curve.
|
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 |
|---|---|
| ExponentialCurve | A sum of exponential terms. |
| FourParameterLogisticCurve | A standard 4-parameter logistic curve. |
| FiveParameterLogisticCurve | A 5-parameter logistic curve that includes an asymmetry factor. |
| GaussianCurve | A 4-parameter Gaussian 'bell' curve. |
| LorentzCurve | A 4-parameter Lorentz peak curve. |
| RationalCurve | A quotient of two polynomials. |
| SineCurve | A 4-parameter periodic curve. |
Note to inheritors: You must override the ValueAt(Double) method. If possible, you should also override the FillPartialDerivatives(Double, GeneralVector) and SlopeAt(Double) methods. By default, a numerical approximation is used as the derivative.