Home
last modified time | relevance | path

Searched refs:cosine (Results 1 – 25 of 3744) sorted by relevance

12345678910>>...150

/dports/graphics/gle/gle-3.1.0/src/
H A Drot_prince.c22 ROTX_CS (m, cosine, sine); in urotx_cs()
28 void rotx_cs (gleDouble cosine, /* input */ in rotx_cs() argument
34 urotx_cs (m, cosine, sine); in rotx_cs()
47 ROTX_CS (m, cosine, sine); in uroty_cs()
59 uroty_cs (m, cosine, sine); in roty_cs()
71 ROTX_CS (m, cosine, sine); in urotz_cs()
83 urotz_cs (m, cosine, sine); in rotz_cs()
100 urotx_cs (m, cosine, sine); in urot_cs()
104 uroty_cs (m, cosine, sine); in urot_cs()
108 urotz_cs (m, cosine, sine); in urot_cs()
[all …]
H A Drot.h19 #define ROTX_CS(m,cosine,sine) \ argument
29 m[1][1] = (cosine); \
35 m[2][2] = (cosine); \
46 #define ROTY_CS(m,cosine,sine) \ argument
50 m[0][0] = (cosine); \
62 m[2][2] = (cosine); \
73 #define ROTZ_CS(m,cosine,sine) \ argument
77 m[0][0] = (cosine); \
83 m[1][1] = (cosine); \
/dports/devel/volk/volk-2.2.1/kernels/volk/
H A Dvolk_32f_tan_32f.h143 cosine = _mm256_add_ps(cosine, _mm256_and_ps(_mm256_sub_ps(sine, cosine), condition1)); in volk_32f_tan_32f_a_avx2_fma()
146cosine = _mm256_sub_ps(cosine, _mm256_and_ps(_mm256_mul_ps(cosine, _mm256_set1_ps(2.0f)), conditio… in volk_32f_tan_32f_a_avx2_fma()
223 cosine = _mm256_add_ps(cosine, _mm256_and_ps(_mm256_sub_ps(sine, cosine), condition1)); in volk_32f_tan_32f_a_avx2()
226cosine = _mm256_sub_ps(cosine, _mm256_and_ps(_mm256_mul_ps(cosine, _mm256_set1_ps(2.0f)), conditio… in volk_32f_tan_32f_a_avx2()
303 cosine = _mm_add_ps(cosine, _mm_and_ps(_mm_sub_ps(sine, cosine), condition1)); in volk_32f_tan_32f_a_sse4_1()
306 cosine = _mm_sub_ps(cosine, _mm_and_ps(_mm_mul_ps(cosine, _mm_set1_ps(2.0f)), condition3)); in volk_32f_tan_32f_a_sse4_1()
389 cosine = _mm256_add_ps(cosine, _mm256_and_ps(_mm256_sub_ps(sine, cosine), condition1)); in volk_32f_tan_32f_u_avx2_fma()
392cosine = _mm256_sub_ps(cosine, _mm256_and_ps(_mm256_mul_ps(cosine, _mm256_set1_ps(2.0f)), conditio… in volk_32f_tan_32f_u_avx2_fma()
469 cosine = _mm256_add_ps(cosine, _mm256_and_ps(_mm256_sub_ps(sine, cosine), condition1)); in volk_32f_tan_32f_u_avx2()
549 cosine = _mm_add_ps(cosine, _mm_and_ps(_mm_sub_ps(sine, cosine), condition1)); in volk_32f_tan_32f_u_sse4_1()
[all …]
H A Dvolk_32f_cos_32f.h152cosine = _mm256_add_ps(cosine, _mm256_and_ps(_mm256_sub_ps(sine, cosine), condition1.float_vec)); in volk_32f_cos_32f_a_avx2_fma()
153cosine = _mm256_sub_ps(cosine, _mm256_and_ps(_mm256_mul_ps(cosine, _mm256_set1_ps(2.0f)), conditio… in volk_32f_cos_32f_a_avx2_fma()
240cosine = _mm256_add_ps(cosine, _mm256_and_ps(_mm256_sub_ps(sine, cosine), condition1.float_vec)); in volk_32f_cos_32f_a_avx2()
241cosine = _mm256_sub_ps(cosine, _mm256_and_ps(_mm256_mul_ps(cosine, _mm256_set1_ps(2.0f)), conditio… in volk_32f_cos_32f_a_avx2()
328 cosine = _mm_add_ps(cosine, _mm_and_ps(_mm_sub_ps(sine, cosine), condition1.float_vec)); in volk_32f_cos_32f_a_sse4_1()
329cosine = _mm_sub_ps(cosine, _mm_and_ps(_mm_mul_ps(cosine, _mm_set1_ps(2.0f)), condition3.float_vec… in volk_32f_cos_32f_a_sse4_1()
423cosine = _mm256_add_ps(cosine, _mm256_and_ps(_mm256_sub_ps(sine, cosine), condition1.float_vec)); in volk_32f_cos_32f_u_avx2_fma()
511cosine = _mm256_add_ps(cosine, _mm256_and_ps(_mm256_sub_ps(sine, cosine), condition1.float_vec)); in volk_32f_cos_32f_u_avx2()
586 cosine = _mm_add_ps(cosine, _mm_and_ps(_mm_sub_ps(sine, cosine), condition1)); in volk_32f_cos_32f_u_sse4_1()
587 cosine = _mm_sub_ps(cosine, _mm_and_ps(_mm_mul_ps(cosine, _mm_set1_ps(2.0f)), condition3)); in volk_32f_cos_32f_u_sse4_1()
[all …]
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/colvars/
H A Dcolvarvalue.cpp68 *(ii++) += ((xvi++)->quaternion_value).cosine (x.quaternion_value); in inner_opt()
128 cvm::real const cosine = in p2leg_opt() local
132 *(ii++) += 1.5*cosine*cosine - 0.5; in p2leg_opt()
138 *(ii++) += 1.5*cosine*cosine - 0.5; in p2leg_opt()
143 cvm::real const cosine = (xvi++)->quaternion_value.cosine (x.quaternion_value); in p2leg_opt() local
144 *(ii++) += 1.5*cosine*cosine - 0.5; in p2leg_opt()
170 cvm::real const cosine = in p2leg_opt() local
174 *(ii++) += 1.5*cosine*cosine - 0.5; in p2leg_opt()
180 *(ii++) += 1.5*cosine*cosine - 0.5; in p2leg_opt()
185 cvm::real const cosine = (xvi++)->quaternion_value.cosine (x.quaternion_value); in p2leg_opt() local
[all …]
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/libs/gccv/
H A Dleaf.cc157 double cosine = cos (m_Rotation), in UpdateBounds() local
161 m_Controls[0].x = m_x - xRad * LEAF_INCR1 * cosine - m_Radius * LEAF_INCR2 * sine; in UpdateBounds()
162 m_Controls[0].y = m_y + xRad * LEAF_INCR1 * sine - m_Radius * LEAF_INCR2 * cosine; in UpdateBounds()
163 m_Controls[1].x = m_x - xRad * LEAF_INCR3 * cosine - m_Radius * LEAF_INCR4 * sine; in UpdateBounds()
164 m_Controls[1].y = m_y + xRad * LEAF_INCR3 * sine - m_Radius * LEAF_INCR4 * cosine; in UpdateBounds()
165 m_Controls[2].x = m_x - xRad * LEAF_INCR3 * cosine- m_Radius * LEAF_INCR5 * sine; in UpdateBounds()
166 m_Controls[2].y = m_y + xRad * LEAF_INCR3 * sine - m_Radius * LEAF_INCR5* cosine; in UpdateBounds()
167 m_Controls[3].x = m_x - xRad * LEAF_INCR3 * cosine - m_Radius * LEAF_INCR6 * sine; in UpdateBounds()
168 m_Controls[3].y = m_y + xRad * LEAF_INCR3 * sine - m_Radius * LEAF_INCR6 * cosine; in UpdateBounds()
169 m_Controls[4].x = m_x - xRad * LEAF_INCR7 * cosine - m_Radius * LEAF_INCR8 * sine; in UpdateBounds()
[all …]
/dports/mail/squirrelmail-translations/squirrelmail.locales/po/
H A Dldapquery.pot595 #: schema/cosine.php:19
599 #: schema/cosine.php:21
604 #: schema/cosine.php:24
608 #: schema/cosine.php:27
612 #: schema/cosine.php:29
616 #: schema/cosine.php:31
620 #: schema/cosine.php:33
624 #: schema/cosine.php:35
628 #: schema/cosine.php:37
632 #: schema/cosine.php:39
[all …]
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/methods/fastmks/
H A Dfastmks_model.cpp22 cosine(NULL), in FastMKSModel()
37 cosine(other.cosine == NULL ? NULL : in FastMKSModel()
55 cosine(other.cosine), in FastMKSModel()
65 other.cosine = NULL; in FastMKSModel()
77 delete cosine; in operator =()
86 cosine = NULL; in operator =()
97 if (other.cosine) in operator =()
98 cosine = new FastMKS<CosineDistance>(*other.cosine); in operator =()
118 if (cosine) in ~FastMKSModel()
119 delete cosine; in ~FastMKSModel()
[all …]
/dports/science/tinker/tinker/source/
H A Detors3.f71 real*8 cosine,cosine2 local
180 cosine = min(1.0d0,max(-1.0d0,cosine))
181 angle = radian * acos(cosine)
207 cosine2 = cosine*cosine - sine*sine
208 sine2 = 2.0d0 * cosine * sine
210 sine3 = cosine*sine2 + sine*cosine2
303 real*8 cosine,cosine2 local
440 cosine = min(1.0d0,max(-1.0d0,cosine))
441 angle = radian * acos(cosine)
467 cosine2 = cosine*cosine - sine*sine
[all …]
H A Detors.f62 real*8 cosine,cosine2 local
178 cosine2 = cosine*cosine - sine*sine
179 sine2 = 2.0d0 * cosine * sine
181 sine3 = cosine*sine2 + sine*cosine2
183 sine4 = cosine*sine3 + sine*cosine3
185 sine5 = cosine*sine4 + sine*cosine4
187 sine6 = cosine*sine5 + sine*cosine5
188 phi1 = 1.0d0 + (cosine*c1 + sine*s1)
247 real*8 cosine,cosine2 local
392 cosine2 = cosine*cosine - sine*sine
[all …]
/dports/mail/squirrelmail-translations/squirrelmail.locales/locale/km/LC_MESSAGES/
H A Dldapquery.po599 #: schema/cosine.php:19
603 #: schema/cosine.php:21
608 #: schema/cosine.php:24
612 #: schema/cosine.php:27
616 #: schema/cosine.php:29
620 #: schema/cosine.php:31
624 #: schema/cosine.php:33
628 #: schema/cosine.php:35
632 #: schema/cosine.php:37
636 #: schema/cosine.php:39
[all …]
/dports/mail/squirrelmail-translations/squirrelmail.locales/locale/bn_BD/LC_MESSAGES/
H A Dldapquery.po601 #: schema/cosine.php:19
605 #: schema/cosine.php:21
610 #: schema/cosine.php:24
614 #: schema/cosine.php:27
618 #: schema/cosine.php:29
622 #: schema/cosine.php:31
626 #: schema/cosine.php:33
630 #: schema/cosine.php:35
634 #: schema/cosine.php:37
638 #: schema/cosine.php:39
[all …]
/dports/games/atr3d/atr3d/
H A Dmatrix.cpp64 float sine, cosine; in xRotateMatrix() local
67 cosine=cos(x*(M_PI/180.0)); in xRotateMatrix()
73 RotationMatrix[1][1]=cosine; in xRotateMatrix()
77 RotationMatrix[2][2]=cosine; in xRotateMatrix()
90 float sine, cosine; in yRotateMatrix() local
93 cosine=cos(y*(M_PI/180.0)); in yRotateMatrix()
95 RotationMatrix[0][0]=cosine; in yRotateMatrix()
103 RotationMatrix[2][2]=cosine; in yRotateMatrix()
116 float sine, cosine; in zRotateMatrix() local
119 cosine=cos(z*(M_PI/180.0)); in zRotateMatrix()
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/math/
H A Dphasefunction.cpp49 inline float henyey_pdf(const float g, const float sqr_g, const float cosine) in henyey_pdf() argument
58 const float denominator = pow(1.0f + sqr_g - 2.0f * g * cosine, -1.5f); in henyey_pdf()
89 float cosine; in sample() local
92 cosine = t; // isotropic in sample()
97 cosine = 0.5f / m_g * (1.0f + sqr_g - p * p); in sample()
100 const float sine = sqrt(max(1.0f - cosine * cosine, 0.0f)); in sample()
107 basis.get_normal() * cosine; in sample()
112 return henyey_pdf(m_g, sqr_g, cosine); in sample()
/dports/audio/fdk-aac/fdk-aac-2.0.2/libFDK/include/
H A DFDK_trigFcts.h157 FIXP_DBL *cosine) { in fixp_sin_cos_residual_inline() argument
207 *cosine = (FIXP_DBL)((cl * csign) << (DFRACT_BITS - FRACT_BITS)); in fixp_sin_cos_residual_inline()
212 *cosine = (FIXP_DBL)(cl * csign) >> 1; in fixp_sin_cos_residual_inline()
230 FIXP_DBL residual, error0, error1, sine, cosine; in inline_fixp_cos_sin() local
231 residual = fixp_sin_cos_residual_inline(x1, scale, &sine, &cosine); in inline_fixp_cos_sin()
233 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
236 *out++ = cosine - (error0 << 1); in inline_fixp_cos_sin()
240 *out++ = SATURATE_LEFT_SHIFT(cosine - (error0 << 1), 1, DFRACT_BITS); in inline_fixp_cos_sin()
244 residual = fixp_sin_cos_residual_inline(x2, scale, &sine, &cosine); in inline_fixp_cos_sin()
246 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
[all …]
/dports/multimedia/handbrake/fdk-aac-2.0.1/libFDK/include/
H A DFDK_trigFcts.h157 FIXP_DBL *cosine) { in fixp_sin_cos_residual_inline() argument
207 *cosine = (FIXP_DBL)((cl * csign) << (DFRACT_BITS - FRACT_BITS)); in fixp_sin_cos_residual_inline()
212 *cosine = (FIXP_DBL)(cl * csign) >> 1; in fixp_sin_cos_residual_inline()
230 FIXP_DBL residual, error0, error1, sine, cosine; in inline_fixp_cos_sin() local
231 residual = fixp_sin_cos_residual_inline(x1, scale, &sine, &cosine); in inline_fixp_cos_sin()
233 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
236 *out++ = cosine - (error0 << 1); in inline_fixp_cos_sin()
240 *out++ = SATURATE_LEFT_SHIFT(cosine - (error0 << 1), 1, DFRACT_BITS); in inline_fixp_cos_sin()
244 residual = fixp_sin_cos_residual_inline(x2, scale, &sine, &cosine); in inline_fixp_cos_sin()
246 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
[all …]
/dports/science/lammps/lammps-stable_29Sep2021/doc/src/
H A Dangle_cosine.rst1 .. index:: angle_style cosine
2 .. index:: angle_style cosine/omp
3 .. index:: angle_style cosine/kk
5 angle_style cosine command
8 Accelerator Variants: *cosine/omp*, *cosine/kk*
15 angle_style cosine
22 angle_style cosine
28 The *cosine* angle style uses the potential
/dports/mail/squirrelmail-translations/squirrelmail.locales/locale/nl_NL/LC_MESSAGES/
H A Dldapquery.po595 #: schema/cosine.php:19
599 #: schema/cosine.php:21
604 #: schema/cosine.php:24
608 #: schema/cosine.php:27
612 #: schema/cosine.php:29
616 #: schema/cosine.php:31
620 #: schema/cosine.php:33
624 #: schema/cosine.php:35
628 #: schema/cosine.php:37
632 #: schema/cosine.php:39
[all …]
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-cosine.c62 pseudo_header->cosine.if_name); in dissect_cosine()
64 proto_tree_add_uint(fh_tree, hf_pro, tvb, 0, 0, pseudo_header->cosine.pro); in dissect_cosine()
65 proto_tree_add_uint(fh_tree, hf_off, tvb, 0, 0, pseudo_header->cosine.off); in dissect_cosine()
66 proto_tree_add_uint(fh_tree, hf_pri, tvb, 0, 0, pseudo_header->cosine.pri); in dissect_cosine()
67 proto_tree_add_uint(fh_tree, hf_rm, tvb, 0, 0, pseudo_header->cosine.rm); in dissect_cosine()
70 switch (pseudo_header->cosine.encap) { in dissect_cosine()
83 if (pseudo_header->cosine.direction == COSINE_DIR_TX) { in dissect_cosine()
85 } else if (pseudo_header->cosine.direction == COSINE_DIR_RX) { in dissect_cosine()
94 switch (pseudo_header->cosine.encap) { in dissect_cosine()
109 if (pseudo_header->cosine.direction == COSINE_DIR_TX) { in dissect_cosine()
[all …]
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-cosine.c62 pseudo_header->cosine.if_name);
64 proto_tree_add_uint(fh_tree, hf_pro, tvb, 0, 0, pseudo_header->cosine.pro);
65 proto_tree_add_uint(fh_tree, hf_off, tvb, 0, 0, pseudo_header->cosine.off);
66 proto_tree_add_uint(fh_tree, hf_pri, tvb, 0, 0, pseudo_header->cosine.pri);
67 proto_tree_add_uint(fh_tree, hf_rm, tvb, 0, 0, pseudo_header->cosine.rm);
70 switch (pseudo_header->cosine.encap) {
83 if (pseudo_header->cosine.direction == COSINE_DIR_TX) {
85 } else if (pseudo_header->cosine.direction == COSINE_DIR_RX) {
94 switch (pseudo_header->cosine.encap) {
109 if (pseudo_header->cosine.direction == COSINE_DIR_TX) {
[all …]
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-cosine.c62 pseudo_header->cosine.if_name); in dissect_cosine()
64 proto_tree_add_uint(fh_tree, hf_pro, tvb, 0, 0, pseudo_header->cosine.pro); in dissect_cosine()
65 proto_tree_add_uint(fh_tree, hf_off, tvb, 0, 0, pseudo_header->cosine.off); in dissect_cosine()
66 proto_tree_add_uint(fh_tree, hf_pri, tvb, 0, 0, pseudo_header->cosine.pri); in dissect_cosine()
67 proto_tree_add_uint(fh_tree, hf_rm, tvb, 0, 0, pseudo_header->cosine.rm); in dissect_cosine()
70 switch (pseudo_header->cosine.encap) { in dissect_cosine()
83 if (pseudo_header->cosine.direction == COSINE_DIR_TX) { in dissect_cosine()
85 } else if (pseudo_header->cosine.direction == COSINE_DIR_RX) { in dissect_cosine()
94 switch (pseudo_header->cosine.encap) { in dissect_cosine()
109 if (pseudo_header->cosine.direction == COSINE_DIR_TX) { in dissect_cosine()
[all …]
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-cosine.c62 pseudo_header->cosine.if_name); in dissect_cosine()
64 proto_tree_add_uint(fh_tree, hf_pro, tvb, 0, 0, pseudo_header->cosine.pro); in dissect_cosine()
65 proto_tree_add_uint(fh_tree, hf_off, tvb, 0, 0, pseudo_header->cosine.off); in dissect_cosine()
66 proto_tree_add_uint(fh_tree, hf_pri, tvb, 0, 0, pseudo_header->cosine.pri); in dissect_cosine()
67 proto_tree_add_uint(fh_tree, hf_rm, tvb, 0, 0, pseudo_header->cosine.rm); in dissect_cosine()
70 switch (pseudo_header->cosine.encap) { in dissect_cosine()
83 if (pseudo_header->cosine.direction == COSINE_DIR_TX) { in dissect_cosine()
85 } else if (pseudo_header->cosine.direction == COSINE_DIR_RX) { in dissect_cosine()
94 switch (pseudo_header->cosine.encap) { in dissect_cosine()
109 if (pseudo_header->cosine.direction == COSINE_DIR_TX) { in dissect_cosine()
[all …]
/dports/mail/squirrelmail-translations/squirrelmail.locales/locale/fy/LC_MESSAGES/
H A Dldapquery.po486 #: schema/cosine.php:84
596 #: schema/cosine.php:19
600 #: schema/cosine.php:21
605 #: schema/cosine.php:24
609 #: schema/cosine.php:27
613 #: schema/cosine.php:29
617 #: schema/cosine.php:31
621 #: schema/cosine.php:33
625 #: schema/cosine.php:35
629 #: schema/cosine.php:37
[all …]
/dports/audio/fdk-aac/fdk-aac-2.0.2/libFDK/src/
H A DFDK_trigFcts.cpp300 FIXP_DBL residual, error, sine, cosine; in fixp_cos() local
302 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos()
306 return cosine - error; in fixp_cos()
309 return SATURATE_LEFT_SHIFT(cosine - error, 1, DFRACT_BITS); in fixp_cos()
314 FIXP_DBL residual, error, sine, cosine; in fixp_sin() local
316 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_sin()
317 error = fMult(cosine, residual); in fixp_sin()
327 FIXP_DBL residual, error0, error1, sine, cosine; in fixp_cos_sin() local
331 error1 = fMult(cosine, residual); in fixp_cos_sin()
334 *cos = cosine - error0; in fixp_cos_sin()
[all …]
/dports/multimedia/handbrake/fdk-aac-2.0.1/libFDK/src/
H A DFDK_trigFcts.cpp300 FIXP_DBL residual, error, sine, cosine; in fixp_cos() local
302 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos()
306 return cosine - error; in fixp_cos()
309 return SATURATE_LEFT_SHIFT(cosine - error, 1, DFRACT_BITS); in fixp_cos()
314 FIXP_DBL residual, error, sine, cosine; in fixp_sin() local
316 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_sin()
317 error = fMult(cosine, residual); in fixp_sin()
327 FIXP_DBL residual, error0, error1, sine, cosine; in fixp_cos_sin() local
331 error1 = fMult(cosine, residual); in fixp_cos_sin()
334 *cos = cosine - error0; in fixp_cos_sin()
[all …]

12345678910>>...150