Home
last modified time | relevance | path

Searched refs:half_b (Results 1 – 2 of 2) sorted by relevance

/external/eigen/bench/
Deig33.cpp69 Scalar half_b = Scalar(0.5)*(c0 + c2_over_3*(Scalar(2)*c2_over_3*c2_over_3 - c1)); in computeRoots() local
71 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()
/external/eigen/Eigen/src/Eigenvalues/
DSelfAdjointEigenSolver.h589 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 …