CubicRealPolynomialRealRoots Method (Double, Double, Double, Double) |
Compute real roots.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static double[] RealRoots(
double a,
double b,
double c,
double d
)
Public Shared Function RealRoots (
a As Double,
b As Double,
c As Double,
d As Double
) As Double()
public:
static array<double>^ RealRoots(
double a,
double b,
double c,
double d
)
static member RealRoots :
a : float *
b : float *
c : float *
d : float -> float[]
Parameters
- a
- Type: SystemDouble
The coefficient of the 3rd order monomial. - b
- Type: SystemDouble
The coefficient of the 2nd order monomial. - c
- Type: SystemDouble
The coefficient of the 1st order monomial. - d
- Type: SystemDouble
The coefficient of the 0th order monomial.
Return Value
Type:
DoubleAn array containing the real valued roots.
See Also