/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/tr1_impl/ |
complex | 1 // TR1 complex -*- C++ -*- 25 /** @file tr1_impl/complex 40 template<typename _Tp> std::complex<_Tp> acos(const std::complex<_Tp>&); 41 template<typename _Tp> std::complex<_Tp> asin(const std::complex<_Tp>&); 42 template<typename _Tp> std::complex<_Tp> atan(const std::complex<_Tp>&); 44 template<typename _Tp> std::complex<_Tp> acosh(const std::complex<_Tp>&) [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/tr1_impl/ |
complex | 1 // TR1 complex -*- C++ -*- 25 /** @file tr1_impl/complex 40 template<typename _Tp> std::complex<_Tp> acos(const std::complex<_Tp>&); 41 template<typename _Tp> std::complex<_Tp> asin(const std::complex<_Tp>&); 42 template<typename _Tp> std::complex<_Tp> atan(const std::complex<_Tp>&); 44 template<typename _Tp> std::complex<_Tp> acosh(const std::complex<_Tp>&) [all...] |
/external/libcxx/test/numerics/complex.number/complex.value.ops/ |
Android.mk | 17 test_makefile := external/libcxx/test/numerics/complex.number/complex.value.ops/Android.mk 19 test_name := numerics/complex.number/complex.value.ops/polar 23 test_name := numerics/complex.number/complex.value.ops/conj 27 test_name := numerics/complex.number/complex.value.ops/abs 31 test_name := numerics/complex.number/complex.value.ops/ima [all...] |
proj.pass.cpp | 10 // <complex> 13 // complex<T> 14 // proj(const complex<T>& x); 16 #include <complex> 23 test(const std::complex<T>& z, std::complex<T> x) 32 test(std::complex<T>(1, 2), std::complex<T>(1, 2)); 33 test(std::complex<T>(-1, 2), std::complex<T>(-1, 2)) [all...] |
/external/clang/test/SemaCXX/ |
cxx1y-user-defined-literals.cpp | 21 template<typename T> struct complex {}; struct in namespace:std 22 complex<float> operator""if(long double); 23 complex<float> operator""if(unsigned long long); 24 complex<double> operator""i(long double); 25 complex<double> operator""i(unsigned long long); 26 complex<long double> operator""il(long double); 27 complex<long double> operator""il(unsigned long long); 40 complex<float> cf1 = 1if, cf2 = 2.if, cf3 = 0x3if; 41 complex<double> cd1 = 1i, cd2 = 2.i, cd3 = 0b0110101i; 42 complex<long double> cld1 = 1il, cld2 = 2.il, cld3 = 0047il [all...] |
/external/libcxx/test/numerics/complex.number/complex.transcendentals/ |
Android.mk | 17 test_makefile := external/libcxx/test/numerics/complex.number/complex.transcendentals/Android.mk 19 test_name := numerics/complex.number/complex.transcendentals/cosh 23 test_name := numerics/complex.number/complex.transcendentals/exp 27 test_name := numerics/complex.number/complex.transcendentals/log 31 test_name := numerics/complex.number/complex.transcendentals/atan [all...] |
tan.pass.cpp | 10 // <complex> 13 // complex<T> 14 // tan(const complex<T>& x); 16 #include <complex> 23 test(const std::complex<T>& c, std::complex<T> x) 32 test(std::complex<T>(0, 0), std::complex<T>(0, 0)); 33 test(std::complex<T>(10000, -10000), std::complex<T>(0, -1)) [all...] |
/external/stlport/src/ |
complex.cpp | 23 #include <complex> 36 // Complex division and square roots. 40 _STLP_DECLSPEC float _STLP_CALL abs(const complex<float>& __z) 43 _STLP_DECLSPEC double _STLP_CALL abs(const complex<double>& __z) 48 _STLP_DECLSPEC long double _STLP_CALL abs(const complex<long double>& __z) 55 _STLP_DECLSPEC float _STLP_CALL arg(const complex<float>& __z) 59 _STLP_DECLSPEC double _STLP_CALL arg(const complex<double>& __z) 64 _STLP_DECLSPEC long double _STLP_CALL arg(const complex<long double>& __z) 68 // Construct a complex number from polar representation 70 _STLP_DECLSPEC complex<float> _STLP_CALL polar(const float& __rho, const float& __phi [all...] |
complex_trig.cpp | 21 // Trigonometric and hyperbolic functions for complex<float>, 22 // complex<double>, and complex<long double> 23 #include <complex> 68 static complex<_Tp> sinT(const complex<_Tp>& z) { 69 return complex<_Tp>(::sin(z._M_re) * ::cosh(z._M_im), 73 _STLP_DECLSPEC complex<float> _STLP_CALL sin(const complex<float>& z) 76 _STLP_DECLSPEC complex<double> _STLP_CALL sin(const complex<double>& z [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
complex.cpp | 23 #include <complex> 36 // Complex division and square roots. 40 _STLP_DECLSPEC float _STLP_CALL abs(const complex<float>& __z) 43 _STLP_DECLSPEC double _STLP_CALL abs(const complex<double>& __z) 48 _STLP_DECLSPEC long double _STLP_CALL abs(const complex<long double>& __z) 55 _STLP_DECLSPEC float _STLP_CALL arg(const complex<float>& __z) 59 _STLP_DECLSPEC double _STLP_CALL arg(const complex<double>& __z) 64 _STLP_DECLSPEC long double _STLP_CALL arg(const complex<long double>& __z) 68 // Construct a complex number from polar representation 70 _STLP_DECLSPEC complex<float> _STLP_CALL polar(const float& __rho, const float& __phi [all...] |
complex_trig.cpp | 21 // Trigonometric and hyperbolic functions for complex<float>, 22 // complex<double>, and complex<long double> 23 #include <complex> 68 static complex<_Tp> sinT(const complex<_Tp>& z) { 69 return complex<_Tp>(::sin(z._M_re) * ::cosh(z._M_im), 73 _STLP_DECLSPEC complex<float> _STLP_CALL sin(const complex<float>& z) 76 _STLP_DECLSPEC complex<double> _STLP_CALL sin(const complex<double>& z [all...] |
/external/libcxx/test/numerics/complex.number/complex.ops/ |
stream_input.pass.cpp | 13 // <complex> 17 // operator>>(basic_istream<charT, traits>& is, complex<T>& x); 19 #include <complex> 27 std::complex<double> c; 29 assert(c == std::complex<double>(5, 0)); 34 std::complex<double> c; 36 assert(c == std::complex<double>(5, 0)); 41 std::complex<double> c; 43 assert(c == std::complex<double>(5, 0)); 48 std::complex<double> c [all...] |
complex_equals_complex.pass.cpp | 10 // <complex> 14 // operator==(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 25 constexpr std::complex<T> lhs(1.5, 2.5); 26 constexpr std::complex<T> rhs(1.5, -2.5); 30 constexpr std::complex<T> lhs(1.5, 2.5); 31 constexpr std::complex<T> rhs(1.5, 2.5); 42 std::complex<T> lhs(1.5, 2.5); 43 std::complex<T> rhs(1.5, -2.5) [all...] |
complex_not_equals_complex.pass.cpp | 10 // <complex> 14 // operator!=(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 25 constexpr std::complex<T> lhs(1.5, 2.5); 26 constexpr std::complex<T> rhs(1.5, -2.5); 30 constexpr std::complex<T> lhs(1.5, 2.5); 31 constexpr std::complex<T> rhs(1.5, 2.5); 43 std::complex<T> lhs(1.5, 2.5); 44 std::complex<T> rhs(1.5, -2.5) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.ops/ |
stream_input.pass.cpp | 10 // <complex> 14 // operator>>(basic_istream<charT, traits>& is, complex<T>& x); 16 #include <complex> 24 std::complex<double> c; 26 assert(c == std::complex<double>(5, 0)); 31 std::complex<double> c; 33 assert(c == std::complex<double>(5, 0)); 38 std::complex<double> c; 40 assert(c == std::complex<double>(5, 0)); 45 std::complex<double> c [all...] |
complex_equals_complex.pass.cpp | 10 // <complex> 14 // operator==(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 25 constexpr std::complex<T> lhs(1.5, 2.5); 26 constexpr std::complex<T> rhs(1.5, -2.5); 30 constexpr std::complex<T> lhs(1.5, 2.5); 31 constexpr std::complex<T> rhs(1.5, 2.5); 42 std::complex<T> lhs(1.5, 2.5); 43 std::complex<T> rhs(1.5, -2.5) [all...] |
complex_not_equals_complex.pass.cpp | 10 // <complex> 14 // operator!=(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 25 constexpr std::complex<T> lhs(1.5, 2.5); 26 constexpr std::complex<T> rhs(1.5, -2.5); 30 constexpr std::complex<T> lhs(1.5, 2.5); 31 constexpr std::complex<T> rhs(1.5, 2.5); 43 std::complex<T> lhs(1.5, 2.5); 44 std::complex<T> rhs(1.5, -2.5) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_complex.py | 9 # These tests ensure that complex math does the right thing 14 if isinstance(a, complex): 15 if isinstance(b, complex): 22 if isinstance(b, complex): 69 """Compute complex z=x*y, and check that z/x==y and z/y==x.""" 88 simple_complex = [complex(x, y) for x in simple_real for y in simple_real] 93 # A naive complex division algorithm (such as in 2.0) is very prone to 95 self.check_div(complex(1e200, 1e200), 1+0j) 96 self.check_div(complex(1e-200, 1e-200), 1+0j) 100 self.check_div(complex(random(), random()) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_complex.py | 9 # These tests ensure that complex math does the right thing 14 if isinstance(a, complex): 15 if isinstance(b, complex): 22 if isinstance(b, complex): 69 """Compute complex z=x*y, and check that z/x==y and z/y==x.""" 88 simple_complex = [complex(x, y) for x in simple_real for y in simple_real] 93 # A naive complex division algorithm (such as in 2.0) is very prone to 95 self.check_div(complex(1e200, 1e200), 1+0j) 96 self.check_div(complex(1e-200, 1e-200), 1+0j) 100 self.check_div(complex(random(), random()) [all...] |
/external/eigen/doc/examples/ |
class_CwiseBinaryOp.cpp | 9 typedef complex<Scalar> result_type; 10 complex<Scalar> operator()(const Scalar& a, const Scalar& b) const { return complex<Scalar>(a,b); }
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/tests/ |
nasm-sectname.asm | 3 section "more$$&complex"
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/ |
tan.pass.cpp | 10 // <complex> 13 // complex<T> 14 // tan(const complex<T>& x); 16 #include <complex> 23 test(const std::complex<T>& c, std::complex<T> x) 32 test(std::complex<T>(0, 0), std::complex<T>(0, 0)); 33 test(std::complex<T>(10000, -10000), std::complex<T>(0, -1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/ |
proj.pass.cpp | 10 // <complex> 13 // complex<T> 14 // proj(const complex<T>& x); 16 #include <complex> 23 test(const std::complex<T>& z, std::complex<T> x) 32 test(std::complex<T>(1, 2), std::complex<T>(1, 2)); 33 test(std::complex<T>(-1, 2), std::complex<T>(-1, 2)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/tr1/ |
complex | 1 // TR1 complex -*- C++ -*- 26 /** @file tr1/complex 35 #include <complex> 53 template<typename _Tp> std::complex<_Tp> acos(const std::complex<_Tp>&); 54 template<typename _Tp> std::complex<_Tp> asin(const std::complex<_Tp>&); 55 template<typename _Tp> std::complex<_Tp> atan(const std::complex<_Tp>&); 58 template<typename _Tp> std::complex<_Tp> acosh(const std::complex<_Tp>&) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/tr1/ |
complex | 1 // TR1 complex -*- C++ -*- 25 /** @file tr1/complex 34 #include <complex> 52 template<typename _Tp> std::complex<_Tp> acos(const std::complex<_Tp>&); 53 template<typename _Tp> std::complex<_Tp> asin(const std::complex<_Tp>&); 54 template<typename _Tp> std::complex<_Tp> atan(const std::complex<_Tp>&); 57 template<typename _Tp> std::complex<_Tp> acosh(const std::complex<_Tp>&) [all...] |