Searched refs:c2_over_3 (Results 1 – 2 of 2) sorted by relevance
64 Scalar c2_over_3 = c2*s_inv3; in computeRoots() local65 Scalar a_over_3 = (c1 - c2*c2_over_3)*s_inv3; in computeRoots()69 Scalar half_b = Scalar(0.5)*(c0 + c2_over_3*(Scalar(2)*c2_over_3*c2_over_3 - c1)); in computeRoots()80 roots(2) = c2_over_3 + Scalar(2)*rho*cos_theta; in computeRoots()81 roots(0) = c2_over_3 - rho*(cos_theta + s_sqrt3*sin_theta); in computeRoots()82 roots(1) = c2_over_3 - rho*(cos_theta - s_sqrt3*sin_theta); in computeRoots()
585 Scalar c2_over_3 = c2*s_inv3;586 Scalar a_over_3 = (c2*c2_over_3 - c1)*s_inv3;589 Scalar half_b = Scalar(0.5)*(c0 + c2_over_3*(Scalar(2)*c2_over_3*c2_over_3 - c1));600 roots(0) = c2_over_3 - rho*(cos_theta + s_sqrt3*sin_theta); // == 2*rho*cos(theta+2pi/3)601 roots(1) = c2_over_3 - rho*(cos_theta - s_sqrt3*sin_theta); // == 2*rho*cos(theta+ pi/3)602 roots(2) = c2_over_3 + Scalar(2)*rho*cos_theta;