Searched refs:cos (Results 1 - 25 of 851) sorted by relevance

1234567891011>>

/external/eigen/doc/snippets/
H A DCwise_cos.cpp2 cout << v.cos() << endl;
H A DTutorial_AdvancedInitialization_LinSpaced.cpp5 table.col(3) = table.col(1).cos();
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
H A DCipherOutputStreamTest.java57 CipherOutputStream cos = new CipherOutputStream(tos);
58 cos.write(data);
59 cos.flush();
73 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
75 cos.write(data[i]);
77 cos.flush();
91 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
92 cos.write(data);
93 cos.flush();
106 CipherOutputStream cos
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Dsin-cos.js28 // Test Math.sin and Math.cos.
33 assertEquals(1, Math.cos(-0));
38 return Math.sin(x) + Math.cos(x) + Math.tan(x);
54 assertEquals(1, Math.cos(0));
55 assertEquals(-1, Math.cos(Math.PI));
64 assertTrue(Math.sin(x) != Math.cos(x));
99 function cos(x) { function
137 var err_cos = abs_error(Math.cos, cos, x)
155 assertEquals(-1, Math.cos({ valueO
[all...]
H A Dtranscendentals.js36 assertTrue(Math.cos(x) != Math.cos(y));
/external/eigen/unsupported/doc/examples/
H A DMatrixPower.cpp10 A << cos(1), -sin(1), 0,
11 sin(1), cos(1), 0,
H A DMatrixSquareRoot.cpp11 A << cos(pi/3), -sin(pi/3),
12 sin(pi/3), cos(pi/3);
H A DMatrixSine.cpp14 MatrixXd cosA = A.cos();
15 std::cout << "cos(A) = \n" << cosA << "\n\n";
17 // The matrix functions satisfy sin^2(A) + cos^2(A) = I,
19 std::cout << "sin^2(A) + cos^2(A) = \n" << sinA*sinA + cosA*cosA << "\n\n";
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-crbug-150729.js33 var M = [i[0], Math.cos(t) + i[7074959]];
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DStemFunction.h30 static Scalar cos(Scalar x, int n) function in class:Eigen::StdStemFunctions
35 res = std::cos(x);
41 res = -std::cos(x);
59 res = std::cos(x);
65 res = -std::cos(x);
/external/flac/libFLAC/
H A Dwindow.c74 window[n] = (FLAC__real)(0.62f - 0.48f * fabs((float)n/(float)N+0.5f) + 0.38f * cos(2.0f * M_PI * ((float)n/(float)N+0.5f)));
83 window[n] = (FLAC__real)(0.42f - 0.5f * cos(2.0f * M_PI * n / N) + 0.08f * cos(4.0f * M_PI * n / N));
93 window[n] = (FLAC__real)(0.35875f - 0.48829f * cos(2.0f * M_PI * n / N) + 0.14128f * cos(4.0f * M_PI * n / N) - 0.01168f * cos(6.0f * M_PI * n / N));
115 window[n] = (FLAC__real)(1.0f - 1.93f * cos(2.0f * M_PI * n / N) + 1.29f * cos(4.0f * M_PI * n / N) - 0.388f * cos(6.0f * M_PI * n / N) + 0.0322f * cos(8.
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowFloatMath.java42 public static float cos(float angle) { method in class:ShadowFloatMath
43 return (float) Math.cos(angle);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DComplex.h41 return Complex(magnitude * cos(phase), magnitude * sin(phase));
/external/chromium_org/third_party/skia/experimental/SkV8Example/
H A Dsample.js9 context.fillRect(100, 100, Math.sin(tick)*100, Math.cos(tick)*100);
H A Dspeed.js9 canvas.fillRect(100, 100, Math.sin(tick)*100, Math.cos(tick)*100);
/external/skia/experimental/SkV8Example/
H A Dsample.js9 context.fillRect(100, 100, Math.sin(tick)*100, Math.cos(tick)*100);
H A Dspeed.js9 canvas.fillRect(100, 100, Math.sin(tick)*100, Math.cos(tick)*100);
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/
H A Dmat4-spec.js355 0, Math.cos(rad), Math.sin(rad), 0,
356 0, -Math.sin(rad), Math.cos(rad), 0,
377 0, Math.cos(rad), Math.sin(rad), 0,
378 0, -Math.sin(rad), Math.cos(rad), 0,
395 0, Math.cos(rad), Math.sin(rad), 0,
396 0, -Math.sin(rad), Math.cos(rad), 0,
417 0, Math.cos(rad), Math.sin(rad), 0,
418 0, -Math.sin(rad), Math.cos(rad), 0,
434 Math.cos(rad), 0, -Math.sin(rad), 0,
436 Math.sin(rad), 0, Math.cos(ra
[all...]
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/
H A Dswim.c60 fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
61 fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
155 fish->x += SHARKSPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
156 fish->y += SHARKSPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/
H A Dswim.c60 fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
61 fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
155 fish->x += SHARKSPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
156 fish->y += SHARKSPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/
H A Dswim.c60 fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
61 fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
155 fish->x += SHARKSPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
156 fish->y += SHARKSPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
/external/ceres-solver/internal/ceres/
H A Djet_test.cc109 { // Check that cos(2*x) = cos(x)^2 - sin(x)^2
110 J z = cos(J(2.0) * x);
111 J w = cos(x)*cos(x) - sin(x)*sin(x);
117 { // Check that sin(2*x) = 2*cos(x)*sin(x)
119 J w = J(2.0)*cos(x)*sin(x);
125 { // Check that cos(x)*cos(x) + sin(x)*sin(x) = 1
126 J z = cos(
[all...]
/external/libvorbis/test/
H A Dutil.c41 data [k] *= maximum * (0.5 - 0.5 * cos (2.0 * M_PI * k / ((len) - 1))) ;
/external/stlport/stlport/stl/config/
H A D_como.h87 # define cosl cos
115 # define cosf cos
116 # define cosl cos
161 # define cosl cos
/external/stlport/src/
H A Dcomplex_trig.cpp70 ::cos(z._M_re) * ::sinh(z._M_im));
85 // cos
88 return complex<_Tp>(::cos(z._M_re) * ::cosh(z._M_im),
92 _STLP_DECLSPEC complex<float> _STLP_CALL cos(const complex<float>& z) function
95 _STLP_DECLSPEC complex<double> _STLP_CALL cos(const complex<double>& z) function
99 _STLP_DECLSPEC complex<long double> _STLP_CALL cos(const complex<long double>& z) function
113 _Tp den = ::cos(re2) + ::cosh(im2);
133 return complex<_Tp>(::sinh(z._M_re) * ::cos(z._M_im),
152 return complex<_Tp>(::cosh(z._M_re) * ::cos(z._M_im),
176 _Tp den = ::cosh(re2) + ::cos(im
[all...]

Completed in 562 milliseconds

1234567891011>>