Cubic Class |
public static class Cubic
The Cubic type exposes the following members.
Name | Description | |
---|---|---|
RealRoots | 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). | |
Roots | 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). |