Click or drag to resize

QuadraticRealPolynomial Class

Represents a 2nd 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.2.419.0 (24.2.419.0)
Syntax
public class QuadraticRealPolynomial : RealPolynomial

The QuadraticRealPolynomial type exposes the following members.

Constructors
  NameDescription
Public methodQuadraticRealPolynomial
Constructs a quadratic polynomial with the provided real coefficients.
Top
Properties
  NameDescription
Public propertyA
Gets the coefficient of the 2nd order monomial.
Public propertyB
Gets the coefficient of the 1st order monomial.
Public propertyC
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 quadratic equation from the supplied coefficients.
Public methodStatic memberDiscriminant(Double, Double, Double)
Provides the discriminant of the quadratic 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)
Provides the real valued roots of the real polynomial with the provided coefficients.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also