Represents a curve that is a quotient of two polynomials.

Namespace: Extreme.Mathematics.Curves.Nonlinear
Assembly:   Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0

Syntax

Visual Basic (Declaration)
Public Class RationalCurve _
	Inherits NonlinearCurve
C#
public class RationalCurve : NonlinearCurve
Visual C++
public ref class RationalCurve : public NonlinearCurve

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.

Inheritance Hierarchy

System.Object
  Extreme.Mathematics.Curves.Curve
    Extreme.Mathematics.Curves.NonlinearCurve
      Extreme.Mathematics.Curves.Nonlinear.RationalCurve

See Also