Click or drag to resize

Cubic Class

Finds roots to the cubic equation x^3 + a2*x^2 + a1*x + a0 = 0 Implements the cubic formula in http://mathworld.wolfram.com/CubicFormula.html
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.RootFindingCubic

Namespace: Altaxo.Calc.RootFinding
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static class Cubic

The Cubic type exposes the following members.

Methods
 NameDescription
Public methodStatic memberRealRoots Find all real-valued roots of the cubic equation a0 + a1*x + a2*x^2 + x^3 = 0. Note the special coefficient order ascending by exponent (consistent with polynomials).
Public methodStatic memberRoots Find all three complex roots of the cubic equation d + c*x + b*x^2 + a*x^3 = 0. Note the special coefficient order ascending by exponent (consistent with polynomials).
Top
See Also