Home
last modified time | relevance | path

Searched refs:cosh (Results 1 – 25 of 60) sorted by relevance

123

/external/v8/test/mjsunit/es6/
Dmath-hyperbolic.js31 [Math.sinh, Math.cosh, Math.tanh, Math.asinh, Math.acosh, Math.atanh].
52 test_id(Math.cosh, Math.acosh, x);
72 assertEquals(Infinity, Math.cosh(-Infinity));
73 assertEquals(Infinity, Math.cosh(Infinity));
74 assertEquals(Infinity, Math.cosh("-Infinity"));
75 assertEquals(Infinity, Math.cosh("Infinity"));
92 assertEquals(1, Math.cosh(0));
93 assertEquals(1, Math.cosh(-0));
108 assertEqualsDelta(1.1276259652063807, Math.cosh(0.5), 1E-12);
109 assertEqualsDelta(74.20994852478785, Math.cosh(5), 1E-12);
[all …]
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DStemFunction.h72 static Scalar cosh(Scalar x, int n) in cosh() function
77 res = std::cosh(x); in cosh()
95 res = std::cosh(x); in sinh()
DMatrixFunction.h582 const MatrixFunctionReturnValue<Derived> MatrixBase<Derived>::cosh() const
586 return MatrixFunctionReturnValue<Derived>(derived(), StdStemFunctions<ComplexScalar>::cosh);
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
DComplex.java551 return createComplex(FastMath.cos(real) * MathUtils.cosh(imaginary), in cos()
580 public Complex cosh() { in cosh() method in Complex
585 return createComplex(MathUtils.cosh(real) * FastMath.cos(imaginary), in cosh()
717 return createComplex(FastMath.sin(real) * MathUtils.cosh(imaginary), in sin()
752 MathUtils.cosh(real) * FastMath.sin(imaginary)); in sinh()
861 double d = FastMath.cos(real2) + MathUtils.cosh(imaginary2); in tan()
899 double d = MathUtils.cosh(real2) + FastMath.cos(imaginary2); in tanh()
/external/eigen/unsupported/doc/examples/
DMatrixSinh.cpp14 MatrixXf coshA = A.cosh(); in main()
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dcosh.pass.cpp25 assert(cosh(c) == x); in test()
42 std::complex<double> r = cosh(x[i]); in test_edges()
Dcos.pass.cpp44 std::complex<double> z = cosh(t1); in test_edges()
/external/eigen/unsupported/test/
Dmatrix_power.cpp64 T angle, ch = std::cosh((T)1); in test2dHyperbolicRotation()
72 ch = std::cosh(angle); in test2dHyperbolicRotation()
Dmatrix_exponential.cpp58 ch = std::cosh(angle); in test2dHyperbolicRotation()
Dmatrix_function.cpp133 VERIFY_IS_APPROX_ABS(A.cosh(), (A.exp() + (-A).exp()) / 2); in testHyperbolicFunctions()
/external/ceres-solver/include/ceres/
Djet.h390 inline double cosh (double x) { return std::cosh(x); } in cosh() function
469 return Jet<T, N>(sinh(f.a), cosh(f.a) * f.v); in sinh()
474 Jet<T, N> cosh(const Jet<T, N>& f) { in cosh() function
475 return Jet<T, N>(cosh(f.a), sinh(f.a) * f.v); in cosh()
624 template<typename T, int N> inline Jet<T, N> ei_cosh(const Jet<T, N>& x) { return cosh(x); … in ei_cosh()
/external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dcosh_valarray.pass.cpp46 std::valarray<T> v3 = cosh(v1); in main()
/external/mesa3d/src/glsl/builtins/ir/
Dcosh.ir1 ((function cosh
/external/ceres-solver/internal/ceres/
Djet_test.cc162 J z = cosh(x) * cosh(x); in TEST()
Dloss_function.cc112 rho[2] = 0.5 / (b_ * (1.0 + cosh(x))); in Evaluate()
/external/llvm/test/Transforms/InstCombine/
Dwin-math.ll98 declare double @cosh(double %x)
102 ; WIN32: double @cosh
104 %2 = call double @cosh(double %1)
/external/deqp/framework/delibs/debase/
DdeMath.h146 DE_INLINE float deFloatCosh (float a) { return (float)cosh(a); } in deFloatCosh()
160 DE_INLINE double deCosh (double a) { return cosh(a); } in deCosh()
/external/eigen/unsupported/Eigen/
DMatrixFunctions36 * - \ref matrixbase_cosh "MatrixBase::cosh()", for computing the matrix hyperbolic cosine
93 \subsection matrixbase_cosh MatrixBase::cosh()
98 const MatrixFunctionReturnValue<Derived> MatrixBase<Derived>::cosh() const
102 \returns expression representing \f$ \cosh(M) \f$
104 This function calls \ref matrixbase_matrixfunction "matrixFunction()" with StdStemFunctions::cosh().
/external/clang/test/CodeGen/
Dlibcall-declarations.c67 double cosh(double);
275 F(cosf), F(cosl), F(cosh), F(coshf), F(coshl),
/external/deqp/doc/testspecs/GLES3/
Dfunctional.shaders.builtin_functions.precision.txt102 | cosh(x) | (exp(x) + exp(-x)) / 2.0 |
103 | tanh(x) | sinh(x) / cosh(x) |
/external/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp42 Ambiguous cosh(Ambiguous){ return Ambiguous(); } in cosh() function
232 static_assert((std::is_same<decltype(std::cosh((float)0)), float>::value), ""); in test_cosh()
233 static_assert((std::is_same<decltype(std::cosh((bool)0)), double>::value), ""); in test_cosh()
234 static_assert((std::is_same<decltype(std::cosh((unsigned short)0)), double>::value), ""); in test_cosh()
235 static_assert((std::is_same<decltype(std::cosh((int)0)), double>::value), ""); in test_cosh()
236 static_assert((std::is_same<decltype(std::cosh((unsigned int)0)), double>::value), ""); in test_cosh()
237 static_assert((std::is_same<decltype(std::cosh((long)0)), double>::value), ""); in test_cosh()
238 static_assert((std::is_same<decltype(std::cosh((unsigned long)0)), double>::value), ""); in test_cosh()
239 static_assert((std::is_same<decltype(std::cosh((long long)0)), double>::value), ""); in test_cosh()
240 static_assert((std::is_same<decltype(std::cosh((unsigned long long)0)), double>::value), ""); in test_cosh()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/
DComposableFunction.java243 return FastMath.cosh(d);
/external/libcxx/include/
Dcomplex216 template<class T> complex<T> cosh (const complex<T>&);
1319 return complex<_Tp>(sinh(__x.real()) * cos(__x.imag()), cosh(__x.real()) * sin(__x.imag()));
1322 // cosh
1326 cosh(const complex<_Tp>& __x)
1336 return complex<_Tp>(cosh(__x.real()) * cos(__x.imag()), sinh(__x.real()) * sin(__x.imag()));
1355 _Tp __d(cosh(__2r) + cos(__2i));
1437 return cosh(complex<_Tp>(-__x.imag(), __x.real()));
Dcmath74 floating_point cosh (arithmetic x);
774 // cosh
776 using ::cosh;
780 inline _LIBCPP_INLINE_VISIBILITY float cosh(float __lcpp_x) _NOEXCEPT {return coshf(__l…
781 inline _LIBCPP_INLINE_VISIBILITY long double cosh(long double __lcpp_x) _NOEXCEPT {return coshl(__l…
787 cosh(_A1 __lcpp_x) _NOEXCEPT {return cosh((double)__lcpp_x);}
/external/clang/lib/Headers/
Dtgmath.h332 __tg_cosh(double __x) {return cosh(__x);} in __tg_cosh()
350 #undef cosh
351 #define cosh(__x) __tg_cosh(__tg_promote1((__x))(__x)) macro

123