pub fn cubic_solve(
a: Scalar,
b: Scalar,
c: Scalar,
d: Scalar,
) -> ArrayIter<Scalar, 3> ⓘ
Expand description
Solve cubic equation a * t ^ 3 + b * t ^ 2 + c * t + d = 0
for t
Reference: https://www.trans4mind.com/personal_development/mathematics/polynomials/cubicAlgebra.htm