QuadraticRealPolynomialRealRoots Method (Double, Double, Double) | 
 
            Provides the real valued roots of the real polynomial with the provided coefficients.
            
 
    Namespace: 
   AGI.Foundation.NumericalMethods
    Assembly:
   AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static double[] RealRoots(
	double a,
	double b,
	double c
)
Public Shared Function RealRoots ( 
	a As Double,
	b As Double,
	c As Double
) As Double()
public:
static array<double>^ RealRoots(
	double a, 
	double b, 
	double c
)
static member RealRoots : 
        a : float * 
        b : float * 
        c : float -> float[] 
Parameters
- a
 - Type: SystemDouble
The coefficient of the 2nd order monomial. - b
 - Type: SystemDouble
The coefficient of the 1st order monomial. - c
 - Type: SystemDouble
The coefficient of the 0th order monomial. 
Return Value
Type: 
DoubleAn array containing the real valued roots, or an empty array if none.
See Also