Searched refs:half_b (Results 1 – 2 of 2) sorted by relevance
69 Scalar half_b = Scalar(0.5)*(c0 + c2_over_3*(Scalar(2)*c2_over_3*c2_over_3 - c1)); in computeRoots() local71 Scalar q = half_b*half_b + a_over_3*a_over_3*a_over_3; in computeRoots()77 Scalar theta = std::atan2(std::sqrt(-q),half_b)*s_inv3; in computeRoots()
589 Scalar half_b = Scalar(0.5)*(c0 + c2_over_3*(Scalar(2)*c2_over_3*c2_over_3 - c1));591 Scalar q = a_over_3*a_over_3*a_over_3 - half_b*half_b;596 …Scalar theta = atan2(sqrt(q),half_b)*s_inv3; // since sqrt(q) > 0, atan2 is in [0, pi] and theta …