/external/eigen/doc/snippets/ |
Cwise_cos.cpp | 2 cout << v.cos() << endl;
|
Tutorial_AdvancedInitialization_LinSpaced.cpp | 5 table.col(3) = table.col(1).cos();
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
CipherOutputStreamTest.java | 57 CipherOutputStream cos = new CipherOutputStream(tos); local 58 cos.write(data); 59 cos.flush(); 73 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 75 cos.write(data[i]); 77 cos.flush(); 91 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 92 cos.write(data); 93 cos.flush(); 106 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()) local 149 CipherOutputStream cos = new CipherOutputStream(tos); local 165 CipherOutputStream cos = new CipherOutputStream(tos); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherOutputStream1Test.java | 67 CipherOutputStream cos = new CipherOutputStream(tos){}; local 68 cos.write(data); 69 cos.flush(); 83 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 85 cos.write(data[i]); 87 cos.flush(); 101 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 102 cos.write(data); 103 cos.flush(); 110 cos.write(null) 123 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 166 CipherOutputStream cos = new CipherOutputStream(tos){}; local 182 CipherOutputStream cos = new CipherOutputStream(tos){}; local 204 CipherOutputStream cos = new CipherOutputStream(baos, c); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Layer.java | 53 float cos = (float)Math.cos(angle); local 58 m[1][1] = cos; 61 m[2][2] = cos; 66 m[0][0] = cos; 69 m[2][2] = cos; 74 m[0][0] = cos; 77 m[1][1] = cos;
|
/external/eigen/unsupported/doc/examples/ |
MatrixSquareRoot.cpp | 11 A << cos(pi/3), -sin(pi/3), 12 sin(pi/3), cos(pi/3);
|
MatrixSine.cpp | 14 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/stlport/src/ |
sincos.c | 43 *pcos = cos(x); 55 *pcos = cos(x);
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
StemFunction.h | 30 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/ |
window.c | 74 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.0f * M_PI * n / N)) [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
FloatMathTest.java | 36 // cos 37 assertEquals(0.964966f, FloatMath.cos(50)); 38 assertEquals(0.69925081f, FloatMath.cos(150)); 39 assertEquals(0.964966f, FloatMath.cos(-50));
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_cos.c | 16 /* cos(x) 25 * Let S,C and T denote the sin, cos and tan respectively on 30 * n sin(x) cos(x) tan(x) 39 * Let trig be any of sin, cos, or tan. 55 cos(double x) function 71 /* cos(Inf or NaN) is NaN */ 88 __weak_reference(cos, cosl);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFloatMath.java | 42 public static float cos(float angle) { method in class:ShadowFloatMath 43 return (float) Math.cos(angle);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
Complex.h | 41 return Complex(magnitude * cos(phase), magnitude * sin(phase));
|
/frameworks/base/core/java/android/util/ |
FloatMath.java | 62 public static native float cos(float angle); method in class:FloatMath
|
/frameworks/base/core/java/android/view/animation/ |
AccelerateDecelerateInterpolator.java | 36 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
FloatMathTest.java | 52 assertEquals(1.0f, FloatMath.cos(0), 0); 53 assertEquals(0.5403023058681398f, FloatMath.cos(1), 0);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
FloatMath_Delegate.java | 79 /*package*/ static float cos(float angle) { method in class:FloatMath_Delegate 80 return (float)Math.cos(angle);
|
/bionic/libm/ |
sincos.c | 33 // -fno-builtin-sin or -fno-builtin-cos can disable sincos optimization, 40 *p_cos = cos(x);
|
/system/extras/tests/bionic/libstdc++/ |
test_cmath.cpp | 43 using ::cos;
|
/external/chromium_org/v8/test/mjsunit/ |
sin-cos.js | 28 // 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({ valueOf: function() { return Math.PI; } })) [all...] |
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/ |
swim.c | 60 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/ |
swim.c | 60 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/ |
swim.c | 60 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/ |
jet_test.cc | 109 { // 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(x) * cos(x) [all...] |