Rational Curve Class
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public class RationalCurve : NonlinearCurve
- Inheritance
- Object → Curve → NonlinearCurve → RationalCurve
Remarks
Use the RationalCurve class to represent a rational function that can be used in non-linear least squares fitting.
A rational curve is a quotient of two polynomials. The degree of the polynomials must be specified when the curve is constructed. A rational curve has n+d+1 parameters, where n is the degree of the polynomial in the numerator, and d is the degree of the polynomial in the denominator. The first n+1 parameters are the coefficients of the polynomial in the numerator, starting with the constant term. The remaining d parameters are the coefficients of the polynomial in the denominator, starting with the linear term. The polynomial in the denominator always has constant term 1.
For details on how to fit a curve of this type, see the NonlinearCurveFitter class.
Constructors
Rational | Constructs a new RationalCurve with the specified degrees in the numerator and the denominator. |
Properties
Degree | Gets the degree of the polynomial of the denominator of the curve. |
Degree | Gets the degree of the polynomial of the numerator of the curve. |
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.
(Inherited from NonlinearCurve) |
Fill |
Fills a dense vector with the partial derivatives of the curve with respect to
each of the curve parameters.
(Overrides NonlinearCurve.FillPartialDerivatives(Double, DenseVector<Double>)) |
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.
(Overrides Curve.FindRoots()) |
Get |
Returns a CurveFitter object that can be used to fit the curve to data.
(Inherited from NonlinearCurve) |
Get |
Returns a Curve that represents the derivative
of this Curve.
(Inherited from Curve) |
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.
(Inherited from NonlinearCurve) |
Get |
Returns a vector with the partial derivatives
of the curve with respect to each of the curve parameters.
(Inherited from NonlinearCurve) |
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 the curve parameters to initial values based on the specified data.
(Inherited from NonlinearCurve) Obsolete. |
Set |
Sets a curve parameter to the specified value.
(Inherited from Curve) |
Slope |
Gets the slope of the curve at the specified
X-coordinate.
(Overrides Curve.SlopeAt(Double)) |
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.
(Overrides Curve.ValueAt(Double)) |