Home
last modified time | relevance | path

Searched refs:atan2 (Results 1 – 25 of 225) sorted by relevance

123456789

/external/eigen/Eigen/src/Geometry/
DEulerAngles.h39 using std::atan2; in eulerAngles()
55 res[0] = atan2(coeff(j,i), coeff(k,i)); in eulerAngles()
60 res[1] = -atan2(s2, coeff(i,i)); in eulerAngles()
65 res[1] = atan2(s2, coeff(i,i)); in eulerAngles()
80 res[2] = atan2(c1*coeff(j,k)-s1*coeff(k,k), c1*coeff(j,j) - s1 * coeff(k,j)); in eulerAngles()
84 res[0] = atan2(coeff(j,k), coeff(k,k)); in eulerAngles()
88 res[1] = atan2(-coeff(i,k), -c2); in eulerAngles()
91 res[1] = atan2(-coeff(i,k), c2); in eulerAngles()
94 res[2] = atan2(s1*coeff(k,i)-c1*coeff(j,i), c1*coeff(j,j) - s1 * coeff(k,j)); in eulerAngles()
DRotation2D.h139 using std::atan2;
141 m_angle = atan2(mat.coeff(1,0), mat.coeff(0,0));
/external/opencv3/modules/viz/src/
Dtypes.cpp140 …fov_[0] = atan2(principal_point_[0], focal_[0]) + atan2(window_size.width-principal_point_[0], fo… in Camera()
141 …fov_[1] = atan2(principal_point_[1], focal_[1]) + atan2(window_size.height-principal_point_[1], fo… in Camera()
151 fov_[0] = atan2(cx, fx) + atan2(window_size.width - cx, fx); in init()
152 fov_[1] = atan2(cy, fy) + atan2(window_size.height - cy, fy); in init()
175 …fov_[0] = (atan2(principal_point_[0],focal_[0]) + atan2(window_size.width-principal_point_[0],foca… in setWindowSize()
/external/v8/test/mjsunit/regress/
Dregress-925537.js38 assertClose( Math.PI / 4, Math.atan2(pinf, pinf));
39 assertClose(-Math.PI / 4, Math.atan2(ninf, pinf));
40 assertClose( 3 * Math.PI / 4, Math.atan2(pinf, ninf));
41 assertClose(-3 * Math.PI / 4, Math.atan2(ninf, ninf));
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java627 FastMath.atan2(-(v1.getY()), v1.getZ()), in getAngles()
629 FastMath.atan2(-(v2.getY()), v2.getX()) in getAngles()
645 FastMath.atan2(v1.getZ(), v1.getY()), in getAngles()
647 FastMath.atan2(v2.getZ(), v2.getX()) in getAngles()
663 FastMath.atan2(v1.getX(), v1.getZ()), in getAngles()
665 FastMath.atan2(v2.getX(), v2.getY()) in getAngles()
681 FastMath.atan2(-(v1.getZ()), v1.getX()), in getAngles()
683 FastMath.atan2(-(v2.getZ()), v2.getY()) in getAngles()
699 FastMath.atan2(-(v1.getX()), v1.getY()), in getAngles()
701 FastMath.atan2(-(v2.getX()), v2.getZ()) in getAngles()
[all …]
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dvec_math.hpp801 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, uchar, float)
802 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, char, float)
803 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, ushort, float)
804 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, short, float)
805 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, uint, float)
806 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, int, float)
807 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, float, float)
808 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2, double, double)
908 CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(atan2, ::atan2f, uchar, float, float)
909 CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(atan2, ::atan2, uchar, double, double)
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dvec_math.hpp812 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, uchar, float)
813 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, char, float)
814 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, ushort, float)
815 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, short, float)
816 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, uint, float)
817 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, int, float)
818 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2f, float, float)
819 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(atan2, ::atan2, double, double)
919 CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(atan2, ::atan2f, uchar, float, float)
920 CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(atan2, ::atan2, uchar, double, double)
[all …]
/external/v8/test/webkit/
Dmath-expected.txt59 PASS Math.atan2(NaN, NaN) is NaN
60 PASS Math.atan2(NaN, 0) is NaN
61 PASS Math.atan2(NaN, -0) is NaN
62 PASS Math.atan2(NaN, 1) is NaN
63 PASS Math.atan2(NaN, Infinity) is NaN
64 PASS Math.atan2(NaN, -Infinity) is NaN
65 PASS Math.atan2(0, NaN) is NaN
66 PASS Math.atan2(-0, NaN) is NaN
67 PASS Math.atan2(1, NaN) is NaN
68 PASS Math.atan2(Infinity, NaN) is NaN
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/java/lang/
DStrictMath.java35 public static double atan2(double y, double x) { in atan2() method in StrictMath
36 return Math.atan2(y,x); in atan2()
/external/opencv3/3rdparty/openexr/Imath/
DImathEuler.h481 x = Math<T>::atan2 (M[j][i], M[k][i]); in extract()
504 y = Math<T>::atan2 (sy, N[i][i]); in extract()
505 z = Math<T>::atan2 (N[j][k], N[j][j]); in extract()
513 x = Math<T>::atan2 (M[j][k], M[k][k]); in extract()
536 y = Math<T>::atan2 (-N[i][k], cy); in extract()
537 z = Math<T>::atan2 (-N[j][i], N[j][j]); in extract()
563 x = Math<T>::atan2 (M[j][i], M[k][i]); in extract()
583 y = Math<T>::atan2 (sy, N[i][i]); in extract()
584 z = Math<T>::atan2 (N[j][k], N[j][j]); in extract()
592 x = Math<T>::atan2 (M[j][k], M[k][k]); in extract()
[all …]
DImathMath.h96 static T atan2 (T x, T y) {return ::atan2 (double(x), double(y));} in atan2() function
129 static float atan2 (float x, float y) {return ::atan2f (x, y);}
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
DUtils.cpp117 double angle = atan2((double)p.y-q.y, (double)p.x-q.x); in drawArrow()
207 z = atan2(m02,m22); in rot2euler()
212 z = atan2(m02,m22); in rot2euler()
216 x = atan2(-m12,m11); in rot2euler()
218 z = atan2(-m20,m00); in rot2euler()
/external/vulkan-validation-layers/libs/glm/gtx/
Dcompatibility.hpp80 …template <typename T, precision P> GLM_FUNC_QUALIFIER T atan2(T x, T y){return atan(x, y);} … in atan2() function
81 …template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> atan2(const detail::tvec… in atan2() function
82 …template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec3<T, P> atan2(const detail::tvec… in atan2() function
83 …template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec4<T, P> atan2(const detail::tvec… in atan2() function
/external/deqp/external/vulkancts/mustpass/1.0.0/src/
Dtest-issues.txt5 dEQP-VK.glsl.builtin.precision.atan2.mediump_compute.*
6 dEQP-VK.glsl.builtin.precision.atan2.highp_compute.*
/external/opencv3/modules/python/test/
Dtransformations.py357 angle = math.atan2(sina, cosa)
777 angles[0] = math.atan2(row[1, 2], row[2, 2])
778 angles[2] = math.atan2(row[0, 1], row[0, 0])
781 angles[0] = math.atan2(-row[2, 1], row[1, 1])
1066 ax = math.atan2( M[i, j], M[i, k])
1067 ay = math.atan2( sy, M[i, i])
1068 az = math.atan2( M[j, i], -M[k, i])
1070 ax = math.atan2(-M[j, k], M[j, j])
1071 ay = math.atan2( sy, M[i, i])
1076 ax = math.atan2( M[k, j], M[k, k])
[all …]
/external/skia/src/animator/
DSkDisplayMath.cpp39 SK_FUNCTION(atan2),
111 SK_MEMBER_FUNCTION(atan2, Float),
154 case SK_FUNCTION(atan2): in executeFunction()
/external/opencv/cvaux/src/
Dcvscanlines.cpp1523 r_angle[0] = (float) atan2( r_start_end[1] * height - r_epipole[1], in icvGetCoefficientStereo()
1525 r_angle[1] = (float) atan2( r_start_end[3] * height - r_epipole[1], in icvGetCoefficientStereo()
1549 l_angle[0] = (float) atan2( l_start_end[1] * height - l_epipole[1], in icvGetCoefficientStereo()
1551 l_angle[1] = (float) atan2( l_start_end[3] * height - l_epipole[1], in icvGetCoefficientStereo()
1587 l_angle[0] = (float) atan2( y - l_epipole[1], x - l_epipole[0] ); in icvGetCoefficientStereo()
1589 r_angle[0] = (float) atan2( r_point[1] - r_epipole[1], r_point[0] - r_epipole[0] ); in icvGetCoefficientStereo()
1617 r_angle[0] = (float) atan2( y - r_epipole[1], x - r_epipole[0] ); in icvGetCoefficientStereo()
1619 l_angle[0] = (float) atan2( l_point[1] - l_epipole[1], l_point[0] - l_epipole[0] ); in icvGetCoefficientStereo()
1636 l_angle[1] = (float) atan2( y - l_epipole[1], x - l_epipole[0] ); in icvGetCoefficientStereo()
1638 r_angle[1] = (float) atan2( r_point[1] - r_epipole[1], r_point[0] - r_epipole[0] ); in icvGetCoefficientStereo()
[all …]
/external/eigen/Eigen/src/Eigen2Support/
DMathFunctions.h25 template<typename T> inline T ei_atan2(const T& x,const T& y) { using std::atan2; return atan2(x,y)… in ei_atan2()
/external/deqp/android/cts/master/src/
Dgles31-test-issues.txt19 dEQP-GLES31.functional.shaders.builtin_functions.precision.atan2.mediump_*
20 dEQP-GLES31.functional.shaders.builtin_functions.precision.atan2.highp_*
Dvulkan-test-issues.txt5 dEQP-VK.glsl.builtin.precision.atan2.mediump_compute.*
6 dEQP-VK.glsl.builtin.precision.atan2.highp_compute.*
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DVector2.java322 float angle = (float)Math.atan2(y, x) * MathUtils.radiansToDegrees; in angle()
330 return (float)Math.atan2(crs(reference), dot(reference)) * MathUtils.radiansToDegrees; in angle()
336 return (float)Math.atan2(y, x); in angleRad()
342 return (float)Math.atan2(crs(reference), dot(reference)); in angleRad()
/external/opencv3/samples/cpp/tutorial_code/ml/introduction_to_pca/
Dintroduction_to_pca.cpp25 angle = atan2( (double) p.y - q.y, (double) p.x - q.x ); // angle in radians in drawAxis()
88 double angle = atan2(eigen_vecs[0].y, eigen_vecs[0].x); // orientation in radians in getOrientation()
/external/v8/test/mjsunit/
Dto_number_order.js51 assertEquals(Math.atan2(1, 2), Math.atan2(v, w));
/external/valgrind/memcheck/tests/
Dvcpu_fbench.c352 #define atan2 I_atan2 macro
533 static double atan2(y, x) in atan2() function
570 return atan2(x, sqrt(1 - x * x));
/external/valgrind/perf/
Dfbench.c348 #define atan2 I_atan2 macro
529 static double atan2(y, x) in atan2() function
566 return atan2(x, sqrt(1 - x * x));

123456789