Home
last modified time | relevance | path

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

1234567

/external/python/cpython3/Lib/test/
Dcmath_testcases.txt1580 -- For exp, cosh, sinh, tanh we limit tests to arguments whose
1713 -- cosh: Hyperbolic Cosine --
1717 cosh0000 cosh 0.0 0.0 -> 1.0 0.0
1718 cosh0001 cosh 0.0 -0.0 -> 1.0 -0.0
1719 cosh0002 cosh -0.0 0.0 -> 1.0 -0.0
1720 cosh0003 cosh -0.0 -0.0 -> 1.0 0.0
1723 cosh0004 cosh -0.85395264297414253 -8.8553756148671958 -> -1.1684340348021185 0.51842195359787435
1724 cosh0005 cosh -19.584904237211223 -0.066582627994906177 -> 159816812.23336992 10656776.050406246
1725 cosh0006 cosh -0.11072618401130772 -1.484820215073247 -> 0.086397164744949503 0.11054275637717284
1726 cosh0007 cosh -3.4764840250681752 -0.48440348288275276 -> 14.325931955190844 7.5242053548737955
[all …]
/external/python/cpython2/Lib/test/
Dcmath_testcases.txt1555 -- For exp, cosh, sinh, tanh we limit tests to arguments whose
1674 -- cosh: Hyperbolic Cosine --
1678 cosh0000 cosh 0.0 0.0 -> 1.0 0.0
1679 cosh0001 cosh 0.0 -0.0 -> 1.0 -0.0
1680 cosh0002 cosh -0.0 0.0 -> 1.0 -0.0
1681 cosh0003 cosh -0.0 -0.0 -> 1.0 0.0
1684 cosh0004 cosh -0.85395264297414253 -8.8553756148671958 -> -1.1684340348021185 0.51842195359787435
1685 cosh0005 cosh -19.584904237211223 -0.066582627994906177 -> 159816812.23336992 10656776.050406246
1686 cosh0006 cosh -0.11072618401130772 -1.484820215073247 -> 0.086397164744949503 0.11054275637717284
1687 cosh0007 cosh -3.4764840250681752 -0.48440348288275276 -> 14.325931955190844 7.5242053548737955
[all …]
Dtest_math.py342 self.assertRaises(TypeError, math.cosh)
343 self.ftest('cosh(0)', math.cosh(0), 1)
344 self.ftest('cosh(2)-2*cosh(1)**2', math.cosh(2)-2*math.cosh(1)**2, -1) # Thanks to Lambert
345 self.assertEqual(math.cosh(INF), INF)
346 self.assertEqual(math.cosh(NINF), INF)
347 self.assertTrue(math.isnan(math.cosh(NAN)))
821 self.ftest('sinh(1)**2-cosh(1)**2', math.sinh(1)**2-math.cosh(1)**2, -1)
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DStemFunction.h79 using std::cosh; in stem_function_cosh()
85 res = std::cosh(x); in stem_function_cosh()
98 using std::cosh; in stem_function_sinh()
107 res = std::cosh(x); in stem_function_sinh()
/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_cosh.cc19 REGISTER4(UnaryOp, CPU, "Cosh", functor::cosh, float, double, complex64,
26 UnaryOp<SYCLDevice, functor::cosh<TYPE>>);
33 REGISTER2(UnaryOp, GPU, "Cosh", functor::cosh, float, double);
Dcwise_op_gpu_cosh.cu.cc22 DEFINE_UNARY2(cosh, float, double);
/external/eigen/unsupported/test/
Dautodiff_scalar.cpp42 using std::cosh; in check_hyperbolic_functions()
49 Scalar cosh_px = std::cosh(p.x()); in check_hyperbolic_functions()
58 AD res3 = cosh(val); in check_hyperbolic_functions()
71 res3 = cosh(val); in check_hyperbolic_functions()
Dmatrix_power.cpp37 T angle, ch = std::cosh((T)1); in test2dHyperbolicRotation()
45 ch = std::cosh(angle); in test2dHyperbolicRotation()
/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/vulkan-validation-layers/libs/glm/detail/
Dfunc_trigonometric.inl172 // cosh
174 GLM_FUNC_QUALIFIER genType cosh
179 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'cosh' only accept floating-point inpu…
181 return genType(std::cosh(angle));
184 VECTORIZE_VEC(cosh) argument
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h67 __DEVICE__ double cosh(double);
68 __DEVICE__ float cosh(float);
199 using ::cosh;
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dsinh_arcsinh.py156 math_ops.log(math_ops.cosh(
173 math_ops.log(math_ops.cosh(
/external/eigen/unsupported/Eigen/src/AutoDiff/
DAutoDiffScalar.h654 using std::cosh;
656 …return Eigen::MakeAutoDiffScalar(tanh(x.value()),x.derivatives() * (Scalar(1)/numext::abs2(cosh(x.…
660 using std::cosh;
661 return Eigen::MakeAutoDiffScalar(sinh(x.value()),x.derivatives() * cosh(x.value()));)
663 EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(cosh,
665 using std::cosh;
666 return Eigen::MakeAutoDiffScalar(cosh(x.value()),x.derivatives() * sinh(x.value()));)
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dcosh.pass.cpp25 assert(cosh(c) == x); in test()
40 std::complex<double> r = cosh(testcases[i]); in test_edges()
/external/eigen/doc/snippets/
DCwise_cosh.cpp2 cout << cosh(v) << endl;
/external/ltp/testcases/misc/math/float/
Dfloat_iperb.c29 {FUNC_NORMAL, 50, cosh, "cosh", "dcosh", "rcosh",
/external/eigen/test/
Darray.cpp235 VERIFY_IS_APPROX(m1.cosh(), cosh(m1)); in array_real()
270 VERIFY_IS_APPROX(cosh(m1), 0.5*(exp(m1)+exp(-m1))); in array_real()
347 VERIFY_IS_APPROX(m1.cosh(), cosh(m1)); in array_complex()
370 VERIFY_IS_APPROX(cosh(m1), 0.5*(exp(m1)+exp(-m1))); in array_complex()
/external/eigen/unsupported/doc/examples/
DMatrixSinh.cpp14 MatrixXf coshA = A.cosh(); in main()
/external/ltp/testcases/misc/math/float/trigo/
DMakefile27 CLEAN_TARGETS := [rd]*sin [rd]sinh [rd]*cos [rd]cosh [rd]*tan [rd]*tan2 \
/external/ltp/testcases/misc/math/float/iperb/
DMakefile27 CLEAN_TARGETS := [rd]*sin [rd]sinh [rd]*cos [rd]cosh [rd]*tan [rd]*tan2 \
/external/libxaac/decoder/armv8/
Dixheaacd_qmf_dec_armv8.c316 WORD16 cosh, sinh; in ixheaacd_fwd_modulation() local
321 cosh = *tcos++; in ixheaacd_fwd_modulation()
323 *real_subband++ = ixheaacd_add32(ixheaacd_mult32x16in32_shl(re, cosh), in ixheaacd_fwd_modulation()
325 *imag_subband++ = ixheaacd_sub32_sat(ixheaacd_mult32x16in32_shl(im, cosh), in ixheaacd_fwd_modulation()
1135 WORD32 cosh, sinh; in ixheaacd_esbr_fwd_modulation() local
1140 cosh = *tcos++; in ixheaacd_esbr_fwd_modulation()
1142 *real_subband++ = (WORD32)((ixheaacd_add64(ixheaacd_mult64(re, cosh), in ixheaacd_esbr_fwd_modulation()
1146 (WORD32)((ixheaacd_sub64_sat(ixheaacd_mult64(im, cosh), in ixheaacd_esbr_fwd_modulation()
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/
Dsinh_arcsinh_bijector_test.py51 np.log(np.cosh(np.arcsinh(y) / tailweight - skewness)) -
155 np.log(np.cosh(
/external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dcosh_valarray.pass.cpp47 std::valarray<T> v3 = cosh(v1); in main()
/external/v8/src/base/
Dieee754.h70 V8_BASE_EXPORT double cosh(double x);
/external/vulkan-validation-layers/libs/glm/gtc/
Dreciprocal.inl128 return genType(1) / glm::cosh(angle);
156 return glm::cosh(angle) / glm::sinh(angle);

1234567