Home
last modified time | relevance | path

Searched full:rad2deg (Results 1 – 25 of 51) sorted by relevance

123

/aosp_15_r20/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dhal_outputs.c397 float rad2deg = (float)(180.0 / M_PI); in google_orientation_geomagnetic() local
400 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic()
401 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic()
402 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic()
428 float rad2deg = (float)(180.0 / M_PI); in google_orientation_6_axis() local
433 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis()
434 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis()
435 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis()
459 float rad2deg = (float)(180.0 / M_PI); in google_orientation() local
464 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation()
[all …]
/aosp_15_r20/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A Dhal_outputs.c443 float rad2deg = (float)(180.0 / M_PI); in google_orientation_geomagnetic() local
446 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic()
447 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic()
448 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic()
474 float rad2deg = (float)(180.0 / M_PI); in google_orientation_6_axis() local
479 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis()
480 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis()
481 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis()
505 float rad2deg = (float)(180.0 / M_PI); in google_orientation() local
510 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation()
[all …]
/aosp_15_r20/development/samples/Compass/src/com/example/android/compass/
H A DCompassActivity.java232 final float rad2deg = (float)(180.0f/Math.PI); in onSensorChanged() local
234 Log.d("Compass", "yaw: " + (int)(mOrientation[0]*rad2deg) + in onSensorChanged()
235 " pitch: " + (int)(mOrientation[1]*rad2deg) + in onSensorChanged()
236 " roll: " + (int)(mOrientation[2]*rad2deg) + in onSensorChanged()
237 " incl: " + (int)(incl*rad2deg) in onSensorChanged()
/aosp_15_r20/frameworks/native/services/sensorservice/
H A DOrientationSensor.cpp53 const float rad2deg = 180 / M_PI; in process() local
55 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in process()
56 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in process()
57 g[2] = asinf ( R[2][0]) * rad2deg; in process()
/aosp_15_r20/external/pytorch/torch/_numpy/
H A D_unary_ufuncs_impl.py37 rad2deg,
38 rad2deg as degrees,
H A D_ufuncs.py276 "rad2deg",
/aosp_15_r20/external/pytorch/test/torch_np/
H A Dtest_unary_ufuncs.py106 assert_allclose(np.rad2deg(0.5), rad2deg(0.5), atol=1e-14, check_dtype=False)
/aosp_15_r20/external/pytorch/functorch/dim/
H A Dop_properties.py254 torch.Tensor.rad2deg,
255 torch.rad2deg,
/aosp_15_r20/external/pytorch/aten/src/ATen/native/sparse/
H A DSparseUnaryOps.cpp47 #include <ATen/ops/rad2deg.h>
184 COALESCED_UNARY_UFUNC(rad2deg);
/aosp_15_r20/external/autotest/client/deps/webgl_mpd/src/resources/
H A DJ3DIMath.js887 var rad2deg = 180 / Math.PI;
888 rotate[0] *= rad2deg;
889 rotate[1] *= rad2deg;
890 rotate[2] *= rad2deg;
/aosp_15_r20/external/pytorch/test/typing/pass/
H A Dmath_ops.py277 # rad2deg
278 torch.rad2deg(torch.tensor([[3.142, -3.142], [6.283, -6.283], [1.570, -1.570]]))
/aosp_15_r20/external/pytorch/torch/distributed/tensor/_ops/
H A D_pointwise_ops.py334 aten.rad2deg.default,
335 aten.rad2deg.out,
/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A DUnaryOps.cpp106 #include <ATen/ops/rad2deg.h>
493 TORCH_CHECK(!self.is_complex(), "rad2deg is not supported for complex tensors."); in rad2deg_out()
497 Tensor rad2deg(const Tensor& self) { in rad2deg() function
/aosp_15_r20/external/pytorch/docs/source/
H A Dname_inference.rst177 ":meth:`Tensor.rad2deg`, :func:`torch.rad2deg`",:ref:`keeps_input_names-doc`
H A Dmasked.rst126 rad2deg
H A Dtorch.rst398 rad2deg
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/numpy_ops/
H A Dnp_math_ops.py734 @np_utils.np_doc('rad2deg')
735 def rad2deg(x): function
756 y = rad2deg(y)
/aosp_15_r20/external/pytorch/torch/masked/maskedtensor/
H A Dunary.py59 "rad2deg",
/aosp_15_r20/external/pytorch/functorch/op_analysis/
H A Dpublic_api114 rad2deg
H A Dannotated_ops208 rad2deg, composite pointwise
/aosp_15_r20/external/angle/src/third_party/ceval/
H A DREADME.md35 …`tanh()`, `abs()`, `ceil()`, `floor()`, `log10()`, `ln()`, `deg2rad()`, `rad2deg()`, `signum()`, `…
H A Dceval.h73 // 'ln()', 'deg2rad()', 'rad2deg()', 'signum()',
106 { CEVAL_RAD2DEG, "rad2deg", CEVAL_PREC_FUNCTIONS, CEVAL_UNARY_FUNCTION },
/aosp_15_r20/external/pytorch/aten/src/ATen/functorch/
H A DBatchRulesUnaryOps.cpp115 UNARY_POINTWISE_ALL(rad2deg); in TORCH_LIBRARY_IMPL()
/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A DNamedRegistrations.cpp381 m.impl("rad2deg", CppFunction::makeFallthrough()); in TORCH_LIBRARY_IMPL()
382 m.impl("rad2deg.out", CppFunction::makeFallthrough()); in TORCH_LIBRARY_IMPL()
/aosp_15_r20/external/tensorflow/tensorflow/python/lib/core/
H A Dbfloat16.cc1383 struct Rad2deg { struct
1546 RegisterUFunc<UnaryUFunc<T, T, ufuncs::Rad2deg<T>>, T>(numpy, in RegisterUFuncs()
1547 "rad2deg") && in RegisterUFuncs()

123