Home
last modified time | relevance | path

Searched refs:tan (Results 1 – 25 of 6740) sorted by relevance

12345678910>>...270

/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/x86_64/math_tables/
H A Dmth_tandefs.h18 MTHINTRIN(tan , ss , em64t , __mth_i_tan , __mth_i_tan , __mth_i_tan …
19 MTHINTRIN(tan , ds , em64t , __mth_i_dtan , __mth_i_dtan , __mth_i_dtan …
20 MTHINTRIN(tan , sv4 , em64t , __gs_tan_4_f , __gs_tan_4_r , __gs_tan_4_p …
21 MTHINTRIN(tan , dv2 , em64t , __gd_tan_2_f , __gd_tan_2_r , __gd_tan_2_p …
22 MTHINTRIN(tan , sv4m , em64t , __fs_tan_4_mn , __rs_tan_4_mn , __ps_tan_4_mn …
23 MTHINTRIN(tan , dv2m , em64t , __fd_tan_2_mn , __rd_tan_2_mn , __pd_tan_2_mn …
25 MTHINTRIN(tan , ss , sse4 , __mth_i_tan , __mth_i_tan , __mth_i_tan …
26 MTHINTRIN(tan , ds , sse4 , __mth_i_dtan , __mth_i_dtan , __mth_i_dtan …
27 MTHINTRIN(tan , sv4 , sse4 , __gs_tan_4_f , __gs_tan_4_r , __gs_tan_4_p …
28 MTHINTRIN(tan , dv2 , sse4 , __gd_tan_2_f , __gd_tan_2_r , __gd_tan_2_p …
[all …]
/dports/audio/faust/faust-2.37.3/tests/impulse-tests/dsp/
H A Dtf_exp.dsp2tan) : /) : *) : +),(1,(1,(3553.1412912100559f,(192000.0f,(1.0f,fconstant(int fSamplingFreq, <math…
/dports/math/scilab/scilab-6.1.1/scilab/modules/m2sci/tests/unit_tests/mfiles/
H A DTAN.m1 % Test file for function tan()
5 res1 = tan([]);
7 res2 = tan(m2sciUnknownType([]));
9 res3 = tan(m2sciUnknownDims([]));
11 res4 = tan([1]);
13 res5 = tan([1,2,3]);
15 res6 = tan([1;2;3]);
17 res7 = tan([1,2,3;4,5,6]);
35 res16 = tan([i]);
37 res17 = tan([i,2i,3i]);
[all …]
/dports/japanese/canna-lib/Canna37p3/lib/canna/
H A Dhenkan.c589 for (tan = st; tan != et; tan = tan->right) {
914 tan = tan->left;
962 for (tan = yc->left; tan->left; tan = tan->left);
1019 tan = tan->left;
1906 tan = tan->left;
2192 for (tan = (tanContext)yc ; tan->right ; tan = tan->right)
2581 tan = tan->left;
2624 tan = tan->left;
2639 tan = tan->right;
2660 tan->yomi[0] = tan->roma[0] = tan->kanji[0];
[all …]
/dports/japanese/canna-server/Canna37p3/lib/canna/
H A Dhenkan.c589 for (tan = st; tan != et; tan = tan->right) {
914 tan = tan->left;
962 for (tan = yc->left; tan->left; tan = tan->left);
1019 tan = tan->left;
1906 tan = tan->left;
2192 for (tan = (tanContext)yc ; tan->right ; tan = tan->right)
2581 tan = tan->left;
2624 tan = tan->left;
2639 tan = tan->right;
2660 tan->yomi[0] = tan->roma[0] = tan->kanji[0];
[all …]
/dports/math/stan/stan-2.28.2/src/test/test-models/good/function-signatures/math/matrix/
H A Dtan.stan40 trans_x3y = tan(x3y);
41 trans_x4y = tan(x4y);
42 trans_x5y = tan(x5y);
43 trans_x2z = tan(x1z);
44 trans_x2z = tan(x2z);
45 trans_x3z = tan(x3z);
46 trans_x4z = tan(x4z);
47 trans_x5z = tan(x5z);
48 trans_x2w = tan(x1w);
49 trans_x2w = tan(x2w);
[all …]
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/testdata/scad/functions/
H A Dtrig-tests.scad60 echo("isNeg0(tan(-180)) ", isNeg0(tan(-180)));
62 echo("tan(-135)== 1 ", tan(-135) == 1);
63 echo("tan(-120)== sqrt(3) ", tan(-120) == sqrt(3));
64 echo("tan(-90) == -1/0 ", tan(-90) == -1/0);
66 echo("tan(-45) == -1 ", tan(-45) == -1);
68 echo("isPos0(tan( 0)) ", isPos0(tan( 0)));
70 echo("tan( 45) == 1 ", tan( 45) == 1);
71 echo("tan( 60) == sqrt(3) ", tan( 60) == sqrt(3));
72 echo("tan( 90) == 1/0 ", tan( 90) == 1/0);
74 echo("tan(135) == -1 ", tan(135) == -1);
[all …]
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/testdata/scad/functions/
H A Dtrig-tests.scad60 echo("isNeg0(tan(-180)) ", isNeg0(tan(-180)));
62 echo("tan(-135)== 1 ", tan(-135) == 1);
63 echo("tan(-120)== sqrt(3) ", tan(-120) == sqrt(3));
64 echo("tan(-90) == -1/0 ", tan(-90) == -1/0);
66 echo("tan(-45) == -1 ", tan(-45) == -1);
68 echo("isPos0(tan( 0)) ", isPos0(tan( 0)));
70 echo("tan( 45) == 1 ", tan( 45) == 1);
71 echo("tan( 60) == sqrt(3) ", tan( 60) == sqrt(3));
72 echo("tan( 90) == 1/0 ", tan( 90) == 1/0);
74 echo("tan(135) == -1 ", tan(135) == -1);
[all …]
/dports/devel/gcem/gcem-1.13.1/tests/
H A Dtan.cpp34 GCEM_TEST_COMPARE_VALS(gcem::tan,std::tan, 0.0L); in main()
35 GCEM_TEST_COMPARE_VALS(gcem::tan,std::tan, 0.001L); in main()
36 GCEM_TEST_COMPARE_VALS(gcem::tan,std::tan, 1.001L); in main()
37 GCEM_TEST_COMPARE_VALS(gcem::tan,std::tan, 1.5L); in main()
38 GCEM_TEST_COMPARE_VALS(gcem::tan,std::tan, 11.1L); in main()
39 GCEM_TEST_COMPARE_VALS(gcem::tan,std::tan, 50.0L); in main()
40 GCEM_TEST_COMPARE_VALS(gcem::tan,std::tan, -1.5L); in main()
43 GCEM_TEST_COMPARE_VALS(gcem::tan,std::tan, TEST_NAN); in main()
/dports/math/giacxcas/giac-1.6.0/examples/morley/
H A Dequimore8 A:=[0,1+i*texpand(tan(a1)),1+i*texpand(tan(2*a1)),
9 1+i*texpand(tan(pi/3+a1)),1+i*texpand(tan(2*a1+2*pi/3)),
10 1+i*texpand(tan(a1+2*pi/3)),1+i*texpand(tan(pi/3+2*a1))];
11 B:=[1,i*texpand(tan(2*a2)),i*texpand(tan(a2)),
12 i*texpand(tan(2*a2+2*pi/3)),i*texpand(tan(a2+pi/3)),
13 i*texpand(tan(pi/3+2*a2)),i*texpand(tan(2*pi/3+a2))];
14 C0:=texpand(tan(a2*3)/(tan(a1*3)+tan(a2*3))*(1+i*tan(a1*3)));
15 C:=[C0,C0+1+i*texpand(tan(pi/3+2*a1-a2)),C0+1+i*texpand(tan(2*pi/3+a1-2*a2)),
16 C0+1+i*texpand(tan(2*pi/3+2*a1-a2)),C0+1+i*texpand(tan(pi/3+a1-2*a2)),
17 C0+1+i*texpand(tan(2*a1-a2)),C0+1+i*texpand(tan(a1-2*a2))];
H A Dmorley1087 …1+i*texpand(tan(a1)),1+i*texpand(tan(2*a1)),1+i*texpand(tan(a1+2*pi/3)),1+i*texpand(tan(pi/3+2*a1)…
8 …:=[1,i*texpand(tan(2*a2)),i*texpand(tan(a2)),i*texpand(tan(pi/3+2*a2)),i*texpand(tan(2*pi/3+a2)),i…
9 C0:=texpand(tan(a2*3)/(tan(a1*3)+tan(a2*3))*(1+i*tan(a1*3)));
10tan(pi/3+2*a1-a2)),C0+1+i*texpand(tan(2*pi/3+a1-2*a2)),C0+1+i*texpand(tan(2*a1-a2)),C0+1+i*texpand…
H A Dmorley183 A:=[0,1+i*texpand(tan(a1)),1+i*texpand(tan(2*a1)),1+i*texpand(tan(pi/3+a1)),
4 1+i*texpand(tan(2*a1+2*pi/3)),1+i*texpand(tan(a1+2*pi/3)),
5 1+i*texpand(tan(pi/3+2*a1))];
6 B:=[1,i*texpand(tan(2*a2)),i*texpand(tan(a2)),i*texpand(tan(2*a2+2*pi/3)),
7 i*texpand(tan(a2+pi/3)),i*texpand(tan(pi/3+2*a2)),i*texpand(tan(2*pi/3+a2))];
8 C0:=texpand(tan(a2*3)/(tan(a1*3)+tan(a2*3))*(1+i*tan(a1*3)));
9 C:=[C0,C0+1+i*texpand(tan(pi/3+2*a1-a2)),C0+1+i*texpand(tan(2*pi/3+a1-2*a2)),
10 C0+1+i*texpand(tan(2*pi/3+2*a1-a2)),C0+1+i*texpand(tan(pi/3+a1-2*a2)),
11 C0+1+i*texpand(tan(2*a1-a2)),C0+1+i*texpand(tan(a1-2*a2))];
/dports/math/giacxcas/giac-1.6.0/examples/geo/
H A Dequimorley8 A:=[0,1+i*texpand(tan(a1)),1+i*texpand(tan(2*a1)),
9 1+i*texpand(tan(pi/3+a1)),1+i*texpand(tan(2*a1+2*pi/3)),
10 1+i*texpand(tan(a1+2*pi/3)),1+i*texpand(tan(pi/3+2*a1))];
11 B:=[1,i*texpand(tan(2*a2)),i*texpand(tan(a2)),
12 i*texpand(tan(2*a2+2*pi/3)),i*texpand(tan(a2+pi/3)),
13 i*texpand(tan(pi/3+2*a2)),i*texpand(tan(2*pi/3+a2))];
14 C0:=texpand(tan(a2*3)/(tan(a1*3)+tan(a2*3))*(1+i*tan(a1*3)));
15 C:=[C0,C0+1+i*texpand(tan(pi/3+2*a1-a2)),C0+1+i*texpand(tan(2*pi/3+a1-2*a2)),
16 C0+1+i*texpand(tan(2*pi/3+2*a1-a2)),C0+1+i*texpand(tan(pi/3+a1-2*a2)),
17 C0+1+i*texpand(tan(2*a1-a2)),C0+1+i*texpand(tan(a1-2*a2))];
H A Dmorley1087 …1+i*texpand(tan(a1)),1+i*texpand(tan(2*a1)),1+i*texpand(tan(a1+2*pi/3)),1+i*texpand(tan(pi/3+2*a1)…
8 …:=[1,i*texpand(tan(2*a2)),i*texpand(tan(a2)),i*texpand(tan(pi/3+2*a2)),i*texpand(tan(2*pi/3+a2)),i…
9 C0:=texpand(tan(a2*3)/(tan(a1*3)+tan(a2*3))*(1+i*tan(a1*3)));
10tan(pi/3+2*a1-a2)),C0+1+i*texpand(tan(2*pi/3+a1-2*a2)),C0+1+i*texpand(tan(2*a1-a2)),C0+1+i*texpand…
H A Dmorley183 A:=[0,1+i*texpand(tan(a1)),1+i*texpand(tan(2*a1)),1+i*texpand(tan(pi/3+a1)),
4 1+i*texpand(tan(2*a1+2*pi/3)),1+i*texpand(tan(a1+2*pi/3)),
5 1+i*texpand(tan(pi/3+2*a1))];
6 B:=[1,i*texpand(tan(2*a2)),i*texpand(tan(a2)),i*texpand(tan(2*a2+2*pi/3)),
7 i*texpand(tan(a2+pi/3)),i*texpand(tan(pi/3+2*a2)),i*texpand(tan(2*pi/3+a2))];
8 C0:=texpand(tan(a2*3)/(tan(a1*3)+tan(a2*3))*(1+i*tan(a1*3)));
9 C:=[C0,C0+1+i*texpand(tan(pi/3+2*a1-a2)),C0+1+i*texpand(tan(2*pi/3+a1-2*a2)),
10 C0+1+i*texpand(tan(2*pi/3+2*a1-a2)),C0+1+i*texpand(tan(pi/3+a1-2*a2)),
11 C0+1+i*texpand(tan(2*a1-a2)),C0+1+i*texpand(tan(a1-2*a2))];
/dports/math/py-sympy/sympy-1.9/sympy/integrals/rubi/rubi_tests/tests/
H A Dtest_tangent.py140 …ert rubi_test(rubi_integrate(tan(c + d*x)**S(6), x), x, -x + tan(c + d*x)**S(5)/(S(5)*d) - tan(c +…
142 …ubi_integrate(tan(c + d*x)**S(8), x), x, x + tan(c + d*x)**S(7)/(S(7)*d) - tan(c + d*x)**S(5)/(S(5…
164tan(c + d*x)**S(3))**(S(5)/2), x), x, -sqrt(S(2))*b**S(2)*sqrt(b*tan(c + d*x)**S(3))*ArcTan(-sqrt(…
165tan(c + d*x)**S(3))**(S(3)/2), x), x, -sqrt(S(2))*b*sqrt(b*tan(c + d*x)**S(3))*ArcTan(-sqrt(S(2))*…
166tan(c + d*x)**S(3)), x), x, sqrt(S(2))*sqrt(b*tan(c + d*x)**S(3))*ArcTan(-sqrt(S(2))*sqrt(tan(c + …
167tan(c + d*x)**S(3)), x), x, sqrt(S(2))*ArcTan(-sqrt(S(2))*sqrt(tan(c + d*x)) + S(1))*tan(c + d*x)*…
168tan(c + d*x)**S(3))**(S(-3)/2), x), x, -sqrt(S(2))*ArcTan(-sqrt(S(2))*sqrt(tan(c + d*x)) + S(1))*t…
172tan(c + d*x)**S(4))**(S(5)/2), x), x, -b**S(2)*x*sqrt(b*tan(c + d*x)**S(4))*cot(c + d*x)**S(2) + b…
173tan(c + d*x)**S(4))**(S(3)/2), x), x, -b*x*sqrt(b*tan(c + d*x)**S(4))*cot(c + d*x)**S(2) + b*sqrt(…
175 …i_integrate(S(1)/sqrt(b*tan(c + d*x)**S(4)), x), x, -x*tan(c + d*x)**S(2)/sqrt(b*tan(c + d*x)**S(4…
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/integrals/rubi/rules/
H A Dtangent.py2767 return Int((g*tan(e + f*x))**p*(a + b*tan(e + f*x))**m*(c + d*tan(e + f*x))**n, x)
2771 return Int((g/tan(e + f*x))**p*(a + b/tan(e + f*x))**m*(c + d/tan(e + f*x))**n, x)
2783 …return Dist((g*tan(e + f*x))**(-p*q)*(g*tan(e + f*x)**q)**p, Int((g*tan(e + f*x))**(p*q)*(a + b*ta…
2787 …return Dist((g*(S(1)/tan(e + f*x))**q)**p*(g/tan(e + f*x))**(-p*q), Int((g/tan(e + f*x))**(p*q)*(a…
2803 return Int((c + d*tan(e + f*x))**n*(a*tan(e + f*x) + b)**m*tan(e + f*x)**(-m - p), x)
2807 …return Dist((g*tan(e + f*x))**p*(S(1)/tan(e + f*x))**p, Int((c + d/tan(e + f*x))**n*(a/tan(e + f*x…
2811 …return Dist((g/tan(e + f*x))**p*tan(e + f*x)**p, Int((c + d*tan(e + f*x))**n*(a*tan(e + f*x) + b)*…
2815 …rn Dist((g*tan(e + f*x))**n*(c + d/tan(e + f*x))**n*(c*tan(e + f*x) + d)**(-n), Int((g*tan(e + f*x…
2819 …rn Dist((g/tan(e + f*x))**n*(c + d*tan(e + f*x))**n*(c/tan(e + f*x) + d)**(-n), Int((g/tan(e + f*x…
3527 …rn Dist((b + S(2)*c*tan(d + e*x))**(-S(2)*n)*(a + b*tan(d + e*x) + c*tan(d + e*x)**S(2))**n, Int((…
[all …]
/dports/astro/astrometry/astrometry.net-0.85/util/
H A Dsip.c152 double x = tan->cd[0][0] * U + tan->cd[0][1] * V; in tan_pixelxy2iwc()
153 double y = tan->cd[1][0] * U + tan->cd[1][1] * V; in tan_pixelxy2iwc()
178 radecdeg2xyz(tan->crval[0], tan->crval[1], &rx, &ry, &rz); in tan_iwc2xyzarr()
212 if (tan->sin) { in tan_iwc2xyzarr()
314 radecdeg2xyzarr(tan->crval[0], tan->crval[1], xyzcrval); in tan_xyzarr2iwc()
439 return (tan->cd[0][0]*tan->cd[1][1] - tan->cd[0][1]*tan->cd[1][0]); in tan_det_cd()
458 fprintf(f," crval=(%g, %g)\n", tan->crval[0], tan->crval[1]); in print_to()
459 fprintf(f," crpix=(%g, %g)\n", tan->crpix[0], tan->crpix[1]); in print_to()
466 if (tan->sin) { in tan_print_to()
555 T = parity * tan->cd[0][0] + tan->cd[1][1]; in tan_get_orientation()
[all …]
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/util/
H A Dsip.c151 double x = tan->cd[0][0] * U + tan->cd[0][1] * V; in tan_pixelxy2iwc()
152 double y = tan->cd[1][0] * U + tan->cd[1][1] * V; in tan_pixelxy2iwc()
177 radecdeg2xyz(tan->crval[0], tan->crval[1], &rx, &ry, &rz); in tan_iwc2xyzarr()
200 if (tan->sin) { in tan_iwc2xyzarr()
302 radecdeg2xyzarr(tan->crval[0], tan->crval[1], xyzcrval); in tan_xyzarr2iwc()
427 return (tan->cd[0][0]*tan->cd[1][1] - tan->cd[0][1]*tan->cd[1][0]); in tan_det_cd()
446 fprintf(f," crval=(%g, %g)\n", tan->crval[0], tan->crval[1]); in print_to()
447 fprintf(f," crpix=(%g, %g)\n", tan->crpix[0], tan->crpix[1]); in print_to()
454 if (tan->sin) { in tan_print_to()
543 T = parity * tan->cd[0][0] + tan->cd[1][1]; in tan_get_orientation()
[all …]
/dports/math/p5-Math-Algebra-Symbols/Math-Algebra-Symbols-1.27/t/
H A Dtrigonometric.t15 ok( tan($x) == 1/cot($x));
18 ok( cot($x) == 1/tan($x));
23 ok( sec($x)**2 - tan($x)**2 == 1);
28 ok( tan($x) == sin($x)/cos($x));
35 ok( cot($x) == tan($pi/2-$x));
38 ok( tan($x) == cot($pi/2-$x));
44 ok( tan($x) == -tan(-$x));
68 ok( tan($x+$y) == (tan($x)+tan($y))/(1-tan($x)*tan($y)));
69 ok( tan($x-$y) == (tan($x)-tan($y))/(1+tan($x)*tan($y)));
77 ok( tan(2*$x) == 2*tan($x)/(1-tan($x)**2));
[all …]
/dports/math/heyoka/heyoka-0.16.0/test/
H A Dtaylor_tan.cpp104 using std::tan;
134 using std::tan;
140 taylor_add_jet<double>(s, "jet", {square(tan(x + y)) + tan(x + y), x}, 2, 1, false, false);
153 …REQUIRE(jet[2] == approximately(tan(jet[0] + jet[1]) * tan(jet[0] + jet[1]) + tan(jet[0] + jet[1])…
158 …* (2 * tan(jet[0] + jet[1]) * (1 + tan(jet[0] + jet[1]) * tan(jet[0] + jet[1])) * (jet[2] + jet[3])
159 + (1 + tan(jet[0] + jet[1]) * tan(jet[0] + jet[1])) * (jet[2] + jet[3]))));
166 using std::tan; in __anon5ac4cbf00202()
439 taylor_add_jet<fp_t>(s, "jet", {tan(y), tan(x)}, 1, 1, high_accuracy, compact_mode); in __anon5ac4cbf00202()
459 taylor_add_jet<fp_t>(s, "jet", {tan(y), tan(x)}, 1, 2, high_accuracy, compact_mode); in __anon5ac4cbf00202()
486 taylor_add_jet<fp_t>(s, "jet", {tan(y), tan(x)}, 2, 1, high_accuracy, compact_mode); in __anon5ac4cbf00202()
[all …]
/dports/math/py-Diofant/Diofant-0.13.0/diofant/tests/functions/
H A Dtest_trigonometric.py155 assert sin(x).rewrite(tan) == 2*tan(x/2)/(1 + tan(x/2)**2)
195 assert tan(-x) == -tan(x)
207 assert tan(x + pi) == tan(x)
208 assert tan(x - 3*pi) == tan(x)
352 assert cos(x).rewrite(tan) == (1 - tan(x/2)**2)/(1 + tan(x/2)**2)
474 assert tan(10*pi/7) == tan(3*pi/7)
527 assert tan(x + y).expand(trig=True) == ((tan(x) + tan(y))/(1 - tan(x)*tan(y))).expand()
528 assert tan(x - y).expand(trig=True) == ((tan(x) - tan(y))/(1 + tan(x)*tan(y))).expand()
530 (tan(x) + tan(y) + tan(z) - tan(x)*tan(y)*tan(z)) /
531 (1 - tan(x)*tan(y) - tan(x)*tan(z) - tan(y)*tan(z))).expand()
[all …]
/dports/devel/spark/spark-2.1.1/sql/hive/src/test/resources/ql/src/test/queries/clientpositive/
H A Dudf_tan.q3 DESCRIBE FUNCTION tan;
4 DESCRIBE FUNCTION EXTENDED tan;
6 SELECT tan(null)
9 SELECT tan(1), tan(6), tan(-1.0)
11 DESCRIBE FUNCTION tan;
12 DESCRIBE FUNCTION EXTENDED tan;
14 SELECT tan(null)
17 SELECT tan(1), tan(6), tan(-1.0)
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Netgen/libsrc/csg/
H A Dexplicitcurve2d.cpp22 Vec<2> tan; in NumericalProjectParam() local
28 tan = EvalPrime (lb); in NumericalProjectParam()
30 fl = tan * (cp - p); in NumericalProjectParam()
38 tan = EvalPrime (ub); in NumericalProjectParam()
40 fu = tan * (cp - p); in NumericalProjectParam()
84 tan.Normalize(); in Normal()
85 return Vec<2> (tan(1), -tan(0)); in Normal()
99 Vec<2> tan, n, curv; in CurvCircle() local
103 tan = EvalPrime (t); in CurvCircle()
119 Vec<2> tan; in MaxCurvature() local
[all …]
/dports/cad/netgen/netgen-6.2.2105/libsrc/csg/
H A Dexplicitcurve2d.cpp22 Vec<2> tan; in NumericalProjectParam() local
28 tan = EvalPrime (lb); in NumericalProjectParam()
30 fl = tan * (cp - p); in NumericalProjectParam()
38 tan = EvalPrime (ub); in NumericalProjectParam()
40 fu = tan * (cp - p); in NumericalProjectParam()
84 tan.Normalize(); in Normal()
85 return Vec<2> (tan(1), -tan(0)); in Normal()
99 Vec<2> tan, n, curv; in CurvCircle() local
103 tan = EvalPrime (t); in CurvCircle()
119 Vec<2> tan; in MaxCurvature() local
[all …]

12345678910>>...270