Searched refs:sintheta (Results 1 – 2 of 2) sorted by relevance
327 T sintheta = std::min(sqrt(angle_axis[0] * angle_axis[0] + in RotationMatrixToAngleAxis() local333 const T theta = atan2(sintheta, costheta); in RotationMatrixToAngleAxis()345 if ((sintheta > kThreshold) || (sintheta < -kThreshold)) { in RotationMatrixToAngleAxis()346 const T r = theta / (kTwo * sintheta); in RotationMatrixToAngleAxis()380 if (((sintheta < 0.0) && (angle_axis[i] > 0.0)) || in RotationMatrixToAngleAxis()381 ((sintheta > 0.0) && (angle_axis[i] < 0.0))) { in RotationMatrixToAngleAxis()408 const T sintheta = sin(theta); in AngleAxisToRotationMatrix() local411 R(1, 0) = wz*sintheta + wx*wy*(kOne - costheta); in AngleAxisToRotationMatrix()412 R(2, 0) = -wy*sintheta + wx*wz*(kOne - costheta); in AngleAxisToRotationMatrix()413 R(0, 1) = wx*wy*(kOne - costheta) - wz*sintheta; in AngleAxisToRotationMatrix()[all …]
637 T sintheta = Math<T>::sin (theta); in log() local640 if (abs (sintheta) < 1 && abs (theta) >= limits<T>::max() * abs (sintheta)) in log()643 k = theta / sintheta; in log()660 T sintheta = Math<T>::sin (theta); in exp() local663 if (abs (theta) < 1 && abs (sintheta) >= limits<T>::max() * abs (theta)) in exp()666 k = sintheta / theta; in exp()