FindRootsQuadratic Method |
Find both complex roots of the quadratic equation c + b*x + a*x^2 = 0.
Note the special coefficient order ascending by exponent (consistent with polynomials).
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static (Complex , Complex ) Quadratic(
double c,
double b,
double a
)
Parameters
- c Double
- The constant coefficient.
- b Double
- The coefficient of the linear term.
- a Double
- The coefficient of the quadratic term.
Return Value
ValueTupleComplex,
ComplexThe two complex roots of the quadratic polynomial.
See Also