Searched refs:s_inv3 (Results 1 – 2 of 2) sorted by relevance
52 const Scalar s_inv3 = 1.0/3.0; in computeRoots() local64 Scalar c2_over_3 = c2*s_inv3; in computeRoots()65 Scalar a_over_3 = (c1 - c2*c2_over_3)*s_inv3; in computeRoots()77 Scalar theta = std::atan2(std::sqrt(-q),half_b)*s_inv3; in computeRoots()
573 const Scalar s_inv3 = Scalar(1)/Scalar(3);585 Scalar c2_over_3 = c2*s_inv3;586 Scalar a_over_3 = (c2*c2_over_3 - c1)*s_inv3;596 …Scalar theta = atan2(sqrt(q),half_b)*s_inv3; // since sqrt(q) > 0, atan2 is in [0, pi] and theta …