Home
last modified time | relevance | path

Searched refs:sinhalf (Results 1 – 17 of 17) sorted by relevance

/dports/science/chrono/chrono-7.0.1/src/chrono/core/
H A DChQuaternion.cpp103 double sinhalf; in Q_from_AngAxis() local
106 sinhalf = sin(halfang); in Q_from_AngAxis()
109 quat.e1() = axis.x() * sinhalf; in Q_from_AngAxis()
110 quat.e2() = axis.y() * sinhalf; in Q_from_AngAxis()
111 quat.e3() = axis.z() * sinhalf; in Q_from_AngAxis()
121 double sinhalf; in Q_from_Vect_to_Vect() local
148 sinhalf = sin(halfang); in Q_from_Vect_to_Vect()
151 quat.e1() = sinhalf* axis.x(); in Q_from_Vect_to_Vect()
152 quat.e2() = sinhalf* axis.y(); in Q_from_Vect_to_Vect()
153 quat.e3() = sinhalf* axis.z(); in Q_from_Vect_to_Vect()
H A DChQuaternion.h1131 Real sinhalf = sin(halfang); in Q_from_AngAxis() local
1133 m_data[1] = axis.x() * sinhalf; in Q_from_AngAxis()
1134 m_data[2] = axis.y() * sinhalf; in Q_from_AngAxis()
1135 m_data[3] = axis.z() * sinhalf; in Q_from_AngAxis()
/dports/science/chrono/chrono-7.0.1/src/chrono_multicore/cuda/
H A Dreal4.cu138 real sinhalf; in Q_from_AngAxis() local
140 sinhalf = Sin(halfang); in Q_from_AngAxis()
142 quat[0] = axis[0] * sinhalf; in Q_from_AngAxis()
143 quat[1] = axis[1] * sinhalf; in Q_from_AngAxis()
144 quat[2] = axis[2] * sinhalf; in Q_from_AngAxis()
/dports/science/chrono/chrono-7.0.1/src/chrono/multicore_math/
H A Dreal4.cpp194 real sinhalf; in Q_from_AngAxis() local
196 sinhalf = Sin(halfang); in Q_from_AngAxis()
198 quat[0] = axis[0] * sinhalf; in Q_from_AngAxis()
199 quat[1] = axis[1] * sinhalf; in Q_from_AngAxis()
200 quat[2] = axis[2] * sinhalf; in Q_from_AngAxis()
/dports/audio/praat/praat-6.2.03/external/gsl/
H A Dgsl_specfunc__bessel_temme.c119 const double sinhalf = (fabs(alpha) < GSL_DBL_EPSILON ? 1.0 : sin(alpha)/alpha); in gsl_sf_bessel_Y_temme() local
120 const double sin_sqr = nu*M_PI*M_PI*0.5 * sinhalf*sinhalf; in gsl_sf_bessel_Y_temme()
/dports/math/gsl/gsl-2.7/specfunc/
H A Dbessel_temme.c119 const double sinhalf = (fabs(alpha) < GSL_DBL_EPSILON ? 1.0 : sin(alpha)/alpha); in gsl_sf_bessel_Y_temme() local
120 const double sin_sqr = nu*M_PI*M_PI*0.5 * sinhalf*sinhalf; in gsl_sf_bessel_Y_temme()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Daacps_fixed_tablegen.h100 int s, c, sinhalf, coshalf; in make_filters_from_proto() local
106 sinhalf = 759250125; in make_filters_from_proto()
111 sinhalf = 410903207; in make_filters_from_proto()
116 sinhalf = 277904834; in make_filters_from_proto()
130 theta = (int)(((int64_t)c * coshalf - (int64_t)s * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
131 s = (int)(((int64_t)s * coshalf + (int64_t)c * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Daacps_fixed_tablegen.h100 int s, c, sinhalf, coshalf; in make_filters_from_proto() local
106 sinhalf = 759250125; in make_filters_from_proto()
111 sinhalf = 410903207; in make_filters_from_proto()
116 sinhalf = 277904834; in make_filters_from_proto()
130 theta = (int)(((int64_t)c * coshalf - (int64_t)s * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
131 s = (int)(((int64_t)s * coshalf + (int64_t)c * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Daacps_fixed_tablegen.h95 int s, c, sinhalf, coshalf; in make_filters_from_proto() local
101 sinhalf = 759250125; in make_filters_from_proto()
106 sinhalf = 410903207; in make_filters_from_proto()
111 sinhalf = 277904834; in make_filters_from_proto()
125 theta = (int)(((int64_t)c * coshalf - (int64_t)s * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
126 s = (int)(((int64_t)s * coshalf + (int64_t)c * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Daacps_fixed_tablegen.h95 int s, c, sinhalf, coshalf; in make_filters_from_proto() local
101 sinhalf = 759250125; in make_filters_from_proto()
106 sinhalf = 410903207; in make_filters_from_proto()
111 sinhalf = 277904834; in make_filters_from_proto()
125 theta = (int)(((int64_t)c * coshalf - (int64_t)s * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
126 s = (int)(((int64_t)s * coshalf + (int64_t)c * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Daacps_fixed_tablegen.h95 int s, c, sinhalf, coshalf; in make_filters_from_proto() local
101 sinhalf = 759250125; in make_filters_from_proto()
106 sinhalf = 410903207; in make_filters_from_proto()
111 sinhalf = 277904834; in make_filters_from_proto()
125 theta = (int)(((int64_t)c * coshalf - (int64_t)s * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
126 s = (int)(((int64_t)s * coshalf + (int64_t)c * sinhalf + 0x20000000) >> 30); in make_filters_from_proto()
/dports/games/linwarrior/linwarrior/source/psi3d/
H A Dmath3d.h367 float sinhalf = sin(radtheta_half); \
368 (result)[0] = (vnorm)[0] * sinhalf; \
369 (result)[1] = (vnorm)[1] * sinhalf; \
370 (result)[2] = (vnorm)[2] * sinhalf; \
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/BussIK/
H A DLinearR3.cpp63 double sinhalf = sqrt(Square(q.x) + Square(q.y) + Square(q.z)); in Set() local
64 if (sinhalf > 0.0) in Set()
66 double theta = atan2(sinhalf, q.w); in Set()
69 (*this) *= (theta / sinhalf); in Set()
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/BussIK/
H A DLinearR3.cpp63 double sinhalf = sqrt(Square(q.x) + Square(q.y) + Square(q.z)); in Set() local
64 if (sinhalf > 0.0) in Set()
66 double theta = atan2(sinhalf, q.w); in Set()
69 (*this) *= (theta / sinhalf); in Set()
/dports/graphics/plotutils/plotutils-2.6/libplot/
H A Dg_subpaths.c626 double halfangle, sinhalf, coshalf, kappa; in _add_arc_as_bezier3() local
630 sinhalf = sin (halfangle); in _add_arc_as_bezier3()
634 if (FABS(sinhalf) < 0.5) in _add_arc_as_bezier3()
635 kappa = (4.0/3.0) * sinhalf / (1.0 + coshalf); in _add_arc_as_bezier3()
637 kappa = (4.0/3.0) * (1.0 - coshalf) / sinhalf; in _add_arc_as_bezier3()
/dports/graphics/recastnavigation/recastnavigation-e75adf86f91eb3082220085e42dda62679f9a3ea/DetourTileCache/Source/
H A DDetourTileCache.cpp447 float sinhalf = sinf(-0.5f*yRadians); in addBoxObstacle() local
448 ob->orientedBox.rotAux[0] = coshalf*sinhalf; in addBoxObstacle()
/dports/graphics/quesa/quesa-1.8/Source/Core/System/
H A DE3Math.c4064 float sinhalf = E3Math_SquareRoot(1.0f - coshalf * coshalf); in E3Quaternion_GetAxisAndAngle() local
4065 outAxis->x = q->x / sinhalf; in E3Quaternion_GetAxisAndAngle()
4066 outAxis->y = q->y / sinhalf; in E3Quaternion_GetAxisAndAngle()
4067 outAxis->z = q->z / sinhalf; in E3Quaternion_GetAxisAndAngle()