Click or drag to resize

CubicRealRoots Method

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).

Namespace: Altaxo.Calc.RootFinding
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static (double , double , double ) RealRoots(
	double a0,
	double a1,
	double a2
)

Parameters

a0  Double

[Missing <param name="a0"/> documentation for "M:Altaxo.Calc.RootFinding.Cubic.RealRoots(System.Double,System.Double,System.Double)"]

a1  Double

[Missing <param name="a1"/> documentation for "M:Altaxo.Calc.RootFinding.Cubic.RealRoots(System.Double,System.Double,System.Double)"]

a2  Double

[Missing <param name="a2"/> documentation for "M:Altaxo.Calc.RootFinding.Cubic.RealRoots(System.Double,System.Double,System.Double)"]

Return Value

ValueTupleDouble, Double, Double

[Missing <returns> documentation for "M:Altaxo.Calc.RootFinding.Cubic.RealRoots(System.Double,System.Double,System.Double)"]

See Also