Searched defs:cos (Results 1 - 25 of 29) sorted by relevance

12

/external/eigen/Eigen/src/plugins/
H A DArrayCwiseUnaryOps.h34 * \sa pow(), log(), sin(), cos()
76 cos() const function
87 * \sa cos(), asin()
100 * \sa cos(), asin()
126 * \sa cos(), sin()
/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);
H A DMatrixFunction.h566 const MatrixFunctionReturnValue<Derived> MatrixBase<Derived>::cos() const function in class:Eigen::MatrixBase
570 return MatrixFunctionReturnValue<Derived>(derived(), StdStemFunctions<ComplexScalar>::cos);
/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/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...]
/external/fonttools/Lib/fontTools/misc/
H A DbezierTools.py253 from math import sqrt, acos, cos, pi namespace
310 x0 = rQ2*cos(theta/3.0) - a1/3.0
311 x1 = rQ2*cos((theta+2.0*pi)/3.0) - a1/3.0
312 x2 = rQ2*cos((theta+4.0*pi)/3.0) - a1/3.0
/external/fonttools/Tools/fontTools/misc/
H A DbezierTools.py253 from math import sqrt, acos, cos, pi namespace
310 x0 = rQ2*cos(theta/3.0) - a1/3.0
311 x1 = rQ2*cos((theta+2.0*pi)/3.0) - a1/3.0
312 x2 = rQ2*cos((theta+4.0*pi)/3.0) - a1/3.0
/external/aac/libFDK/src/
H A DFDK_trigFcts.cpp316 void fixp_cos_sin (FIXP_DBL x, int scale, FIXP_DBL *cos, FIXP_DBL *sin) argument
323 *cos = cosine - error0;
/external/eigen/Eigen/src/Eigen2Support/
H A DCwiseOperators.h100 /** \deprecated ArrayBase::cos() */
103 Cwise<ExpressionType>::cos() const function in class:Eigen::Cwise
/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...]
/external/chromium_org/third_party/skia/samplecode/
H A DSampleVertices.cpp176 SkScalar cos; local
177 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
178 v[i+1].set(cos, sin);
204 SkScalar cos; local
205 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
206 v[i*2 + 0].set(cos/2, sin/2);
207 v[i*2 + 1].set(cos, sin);
H A DSampleSlides.cpp377 SkScalar cos; local
378 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
379 v[i+1].set(cos, sin);
405 SkScalar cos; local
406 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
407 v[i*2 + 0].set(cos/2, sin/2);
408 v[i*2 + 1].set(cos, sin);
/external/skia/samplecode/
H A DSampleVertices.cpp176 SkScalar cos; local
177 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
178 v[i+1].set(cos, sin);
204 SkScalar cos; local
205 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
206 v[i*2 + 0].set(cos/2, sin/2);
207 v[i*2 + 1].set(cos, sin);
H A DSampleSlides.cpp377 SkScalar cos; local
378 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
379 v[i+1].set(cos, sin);
405 SkScalar cos; local
406 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
407 v[i*2 + 0].set(cos/2, sin/2);
408 v[i*2 + 1].set(cos, sin);
/external/stlport/stlport/stl/
H A D_cmath.h345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
366 _STLP_DMATH_INLINE(cos)
395 # if defined (cos)
396 inline double __stlp_cos(double __x) { return cos(__x); }
397 # undef cos macro
398 inline double cos(double __x) { return __stlp_cos(__x); } function
437 _STLP_DEF_MATH_INLINE(cos, cos)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
559 using ::cos;
[all...]
/external/valgrind/main/memcheck/tests/
H A Dvcpu_fbench.c16 cos, tan, etc, will be used as supplied by <math.h>. If it is
348 #define cos I_cos macro
438 /* cos(x) Return cosine, x in radians, by identity */
440 static double cos(x) function
454 return sin(x) / cos(x);
670 cos(-rang)) / (from_index *
671 cos(axis_slope_angle)));
/external/valgrind/main/perf/
H A Dfbench.c12 cos, tan, etc, will be used as supplied by <math.h>. If it is
344 #define cos I_cos macro
434 /* cos(x) Return cosine, x in radians, by identity */
436 static double cos(x) function
450 return sin(x) / cos(x);
666 cos(-rang)) / (from_index *
667 cos(axis_slope_angle)));
/external/ceres-solver/include/ceres/
H A Djet.h383 inline double cos (double x) { return std::cos(x); } function in namespace:ceres
425 // cos(a + h) ~= cos(a) - sin(a) h
427 Jet<T, N> cos(const Jet<T, N>& f) { function in namespace:ceres
428 return Jet<T, N>(cos(f.a), - sin(f.a) * f.v);
438 // sin(a + h) ~= sin(a) + cos(a) h
441 return Jet<T, N>(sin(f.a), cos(f.a) * f.v);
620 template<typename T, int N> inline Jet<T, N> ei_cos (const Jet<T, N>& x) { return cos(x); } // NOLINT
/external/clang/lib/Headers/
H A Dtgmath.h237 // cos
245 __tg_cos(double __x) {return cos(__x);}
263 #undef cos macro
264 #define cos(__x) __tg_cos(__tg_promote1((__x))(__x)) macro
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar ... .core.internal.runtime.auth.CipherOutputStream cos java.io.ObjectOutputStream oos public boolean setPassword (java ...
/external/eigen/unsupported/test/mpreal/
H A Dmpreal.h349 friend const mpreal cos(const mpreal& v, mp_rnd_t rnd_mode = mpreal::get_default_rnd());
2071 inline const mpreal cos (const mpreal& x, mp_rnd_t r) { MPREAL_UNARY_MATH_FUNCTION_BODY(cos ); } function in namespace:mpfr
/external/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h187 /// double cos(double x);
188 cos, enumerator in enum:llvm::LibFunc::Func
731 case LibFunc::cos: case LibFunc::cosf: case LibFunc::cosl:
/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp2283 Cos (void) : TrigFunc("cos", deCos, -1.0, 1.0) {}
2289 ExprP<float> cos (const ExprP<float>& x) { return app<Cos>(x); } function in namespace:deqp::gls::BuiltinPrecisionTests::Functions
2291 DEFINE_DERIVED_FLOAT1(Tan, tan, x, sin(x) * (constant(1.0f) / cos(x)));
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...

Completed in 601 milliseconds

12