/prebuilts/ndk/r13/sources/cxx-stl/stlport/stlport/stl/config/ |
_como.h | 87 # define cosl cos 115 # define cosf cos 116 # define cosl cos 161 # define cosl cos
|
/developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
MainActivity.java | 202 float cos = (float) Math.cos((double) value); local 205 mat.set(0, 0, (float) (.299 + .701 * cos + .168 * sin)); 206 mat.set(1, 0, (float) (.587 - .587 * cos + .330 * sin)); 207 mat.set(2, 0, (float) (.114 - .114 * cos - .497 * sin)); 208 mat.set(0, 1, (float) (.299 - .299 * cos - .328 * sin)); 209 mat.set(1, 1, (float) (.587 + .413 * cos + .035 * sin)); 210 mat.set(2, 1, (float) (.114 - .114 * cos + .292 * sin)); 211 mat.set(0, 2, (float) (.299 - .3 * cos + 1.25 * sin)); 212 mat.set(1, 2, (float) (.587 - .588 * cos - 1.05 * sin)) [all...] |
/developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
MainActivity.java | 202 float cos = (float) Math.cos((double) value); local 205 mat.set(0, 0, (float) (.299 + .701 * cos + .168 * sin)); 206 mat.set(1, 0, (float) (.587 - .587 * cos + .330 * sin)); 207 mat.set(2, 0, (float) (.114 - .114 * cos - .497 * sin)); 208 mat.set(0, 1, (float) (.299 - .299 * cos - .328 * sin)); 209 mat.set(1, 1, (float) (.587 + .413 * cos + .035 * sin)); 210 mat.set(2, 1, (float) (.114 - .114 * cos + .292 * sin)); 211 mat.set(0, 2, (float) (.299 - .3 * cos + 1.25 * sin)); 212 mat.set(1, 2, (float) (.587 - .588 * cos - 1.05 * sin)) [all...] |
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
MainActivity.java | 217 float cos = (float) Math.cos((double) value); local 220 mat.set(0, 0, (float) (.299 + .701 * cos + .168 * sin)); 221 mat.set(1, 0, (float) (.587 - .587 * cos + .330 * sin)); 222 mat.set(2, 0, (float) (.114 - .114 * cos - .497 * sin)); 223 mat.set(0, 1, (float) (.299 - .299 * cos - .328 * sin)); 224 mat.set(1, 1, (float) (.587 + .413 * cos + .035 * sin)); 225 mat.set(2, 1, (float) (.114 - .114 * cos + .292 * sin)); 226 mat.set(0, 2, (float) (.299 - .3 * cos + 1.25 * sin)); 227 mat.set(1, 2, (float) (.587 - .588 * cos - 1.05 * sin)) [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_jn.c | 84 * Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi) 86 * Let s=sin(x), c=cos(x), 89 * n sin(xn)*sqt2 cos(xn)*sqt2 97 case 0: temp = cos(x)+sin(x); break; 98 case 1: temp = -cos(x)+sin(x); break; 99 case 2: temp = -cos(x)-sin(x); break; 100 case 3: temp = cos(x)-sin(x); break; 241 * Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi) 243 * Let s=sin(x), c=cos(x), 246 * n sin(xn)*sqt2 cos(xn)*sqt [all...] |
s_cexp.c | 55 /* cexp(0 + I y) = cos(y) + I sin(y) */ 57 return (CMPLX(cos(y), sin(y))); 87 return (CMPLX(exp_x * cos(y), exp_x * sin(y)));
|
s_ctanh.c | 39 * beta = 1/cos^2(y) 47 * sinh(x) cos(y) + I cosh(x) sin(y) 49 * cosh(x) cos(y) + I sinh(x) sin(y) 51 * cosh(x) sinh(x) / cos^2(y) + I tan(y) 53 * 1 + sinh^2(x) / cos^2(y) 108 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); 126 4 * sin(y) * cos(y) * exp_mx * exp_mx)); 131 beta = 1.0 + t * t; /* = 1 / cos^2(y) */
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
CubeWallpaper1.java | 211 float newy1 = (float)(Math.sin(xrot) * z1 + Math.cos(xrot) * y1); 212 float newy2 = (float)(Math.sin(xrot) * z2 + Math.cos(xrot) * y2); 213 float newz1 = (float)(Math.cos(xrot) * z1 - Math.sin(xrot) * y1); 214 float newz2 = (float)(Math.cos(xrot) * z2 - Math.sin(xrot) * y2); 217 float newx1 = (float)(Math.sin(yrot) * newz1 + Math.cos(yrot) * x1); 218 float newx2 = (float)(Math.sin(yrot) * newz2 + Math.cos(yrot) * x2); 219 newz1 = (float)(Math.cos(yrot) * newz1 - Math.sin(yrot) * x1); 220 newz2 = (float)(Math.cos(yrot) * newz2 - Math.sin(yrot) * x2);
|
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
cos.pass.cpp | 14 // cos(const complex<T>& x); 25 assert(cos(c) == x); 41 std::complex<double> r = cos(testcases[i]);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
Point.java | 76 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2)); local 77 float angle = (float) Math.acos(cos);
|
/prebuilts/go/darwin-x86/src/math/ |
export_s390x_test.go | 9 var CosNoVec = cos
|
/prebuilts/go/linux-x86/src/math/ |
export_s390x_test.go | 9 var CosNoVec = cos
|
/prebuilts/misc/common/swig/include/2.0.11/ |
math.i | 12 extern double cos(double x);
|
/prebuilts/ndk/r10/sources/cxx-stl/gabi++/include/ |
cmath | 45 using ::cos;
|
/prebuilts/ndk/r10/sources/cxx-stl/llvm-libc++/gabi++/include/ |
cmath | 45 using ::cos;
|
/prebuilts/ndk/r10/sources/cxx-stl/system/include/ |
cmath | 45 using ::cos;
|
/prebuilts/ndk/r11/sources/cxx-stl/gabi++/include/ |
cmath | 45 using ::cos;
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/ |
cos.pass.cpp | 14 // cos(const complex<T>& x); 25 assert(cos(c) == x); 42 std::complex<double> r = cos(x[i]);
|
/prebuilts/ndk/r11/sources/cxx-stl/system/include/ |
cmath | 45 using ::cos;
|
/prebuilts/ndk/r13/sources/cxx-stl/gabi++/include/ |
cmath | 45 using ::cos;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.transcendentals/ |
cos.pass.cpp | 14 // cos(const complex<T>& x); 25 assert(cos(c) == x); 42 std::complex<double> r = cos(x[i]);
|
/prebuilts/ndk/r13/sources/cxx-stl/system/include/ |
cmath | 45 using ::cos;
|
/external/crcalc/tests/src/com/hp/creals/ |
CRTest.java | 123 check_eq(cosine.execute(one), one.cos(), "monotoneDerivative failed"); 124 check_eq(cosine.execute(three), three.cos(), 127 check_eq(acos.execute(one.cos()), one, "acos(cos(1) failed"); 144 check_appr_eq(Math.cos(n), CR.valueOf(n).cos().doubleValue(), 145 "cos failed at " + n); 159 check_appr_eq(Math.cos(12345678.0), 160 CR.valueOf(12345678).cos().doubleValue(), 161 "cos failed at " + 12345678) [all...] |
/external/skia/samplecode/ |
SampleVertices.cpp | 167 SkScalar cos; local 168 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); 169 v[i+1].set(cos, sin); 195 SkScalar cos; local 196 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); 197 v[i*2 + 0].set(cos/2, sin/2); 198 v[i*2 + 1].set(cos, sin);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/ |
Complex.java | 527 * <code> cos(a + bi) = cos(a)cosh(b) - sin(a)sinh(b)i</code></pre> 529 * {@link java.lang.Math#sin}, {@link java.lang.Math#cos}, 539 * cos(1 ± INFINITY i) = 1 ∓ INFINITY i 540 * cos(±INFINITY + i) = NaN + NaN i 541 * cos(±INFINITY ± INFINITY i) = NaN + NaN i</code></pre></p> 546 public Complex cos() { method in class:Complex 551 return createComplex(FastMath.cos(real) * MathUtils.cosh(imaginary), 561 * <code> cosh(a + bi) = cosh(a)cos(b) + sinh(a)sin(b)i</code></pre> 563 * {@link java.lang.Math#sin}, {@link java.lang.Math#cos}, [all...] |