Home
last modified time | relevance | path

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

/external/ceres-solver/include/ceres/
Drotation.h327 T sintheta = std::min(sqrt(angle_axis[0] * angle_axis[0] + in RotationMatrixToAngleAxis() local
333 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() local
411 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 …]
/external/opencv3/3rdparty/openexr/Imath/
DImathQuat.h637 T sintheta = Math<T>::sin (theta); in log() local
640 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() local
663 if (abs (theta) < 1 && abs (sintheta) >= limits<T>::max() * abs (theta)) in exp()
666 k = sintheta / theta; in exp()