Click or drag to resize

CubicRealPolynomial Class

Represents a 3rd order polynomial function of one variable with only real coefficients.
Inheritance Hierarchy

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public class CubicRealPolynomial : RealPolynomial

The CubicRealPolynomial type exposes the following members.

Constructors
  NameDescription
Public methodCubicRealPolynomial
Constructs a cubic polynomial with the provided real coefficients.
Top
Properties
  NameDescription
Public propertyA
Gets the coefficient of the 3rd order monomial.
Public propertyB
Gets the coefficient of the 2nd order monomial.
Public propertyC
Gets the coefficient of the 1st order monomial.
Public propertyD
Gets the coefficient of the 0th order monomial.
Public propertyItem
Gets the coefficient of the monomial of the specified order.
(Inherited from RealPolynomial.)
Public propertyOrder
Gets the order of the polynomial.
(Inherited from RealPolynomial.)
Top
Methods
  NameDescription
Public methodDiscriminant
Provides the discriminant of the cubic equation from the supplied coefficients.
Public methodStatic memberDiscriminant(Double, Double, Double, Double)
Provides the discriminant of the cubic equation from the supplied coefficients.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate(Double)
Evaluates the polynomial at the specified value of the independent variable.
(Inherited from RealPolynomial.)
Public methodEvaluate(Double)
Evaluates the polynomial at the specified values of the independent variable.
(Inherited from RealPolynomial.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRealRoots
Provides the real valued roots of the real polynomial.
Public methodStatic memberRealRoots(Double, Double, Double, Double)
Compute real roots.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also