HomeSort by relevance Sort by last modified time
    Searched full:complex (Results 101 - 125 of 3705) sorted by null

1 2 3 45 6 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/
proj.pass.cpp 10 // <complex>
12 // template<class T> complex<T> proj(const complex<T>&);
13 // complex<long double> proj(long double);
14 // complex<double> proj(double);
15 // template<Integral T> complex<double> proj(T);
16 // complex<float> proj(float);
18 #include <complex>
28 static_assert((std::is_same<decltype(std::proj(x)), std::complex<double> >::value), "");
29 assert(std::proj(x) == proj(std::complex<double>(x, 0)))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/
pow_complex_complex.pass.cpp 10 // <complex>
13 // complex<T>
14 // pow(const complex<T>& x, const complex<T>& y);
16 #include <complex>
23 test(const std::complex<T>& a, const std::complex<T>& b, std::complex<T> x)
25 std::complex<T> c = pow(a, b);
34 test(std::complex<T>(2, 3), std::complex<T>(2, 0), std::complex<T>(-5, 12))
    [all...]
atan.pass.cpp 10 // <complex>
13 // complex<T>
14 // atan(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));
37 typedef std::complex<double> C;
41 std::complex<double> r = atan(x[i])
    [all...]
sin.pass.cpp 10 // <complex>
13 // complex<T>
14 // sin(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));
37 typedef std::complex<double> C;
42 std::complex<double> r = sin(x[i])
    [all...]
  /external/libcxx/test/numerics/complex.number/complex.ops/
complex_minus_scalar.pass.cpp 10 // <complex>
13 // complex<T>
14 // operator-(const complex<T>& lhs, const T& rhs);
16 #include <complex>
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x)
31 std::complex<T> lhs(1.5, 2.5);
33 std::complex<T> x(-2.0, 2.5);
37 std::complex<T> lhs(1.5, -2.5);
39 std::complex<T> x(5.0, -2.5)
    [all...]
complex_plus_scalar.pass.cpp 10 // <complex>
13 // complex<T>
14 // operator+(const complex<T>& lhs, const T& rhs);
16 #include <complex>
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x)
31 std::complex<T> lhs(1.5, 2.5);
33 std::complex<T> x(5.0, 2.5);
37 std::complex<T> lhs(1.5, -2.5);
39 std::complex<T> x(-2.0, -2.5)
    [all...]
scalar_minus_complex.pass.cpp 10 // <complex>
13 // complex<T>
14 // operator-(const T& lhs, const complex<T>& rhs);
16 #include <complex>
21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x)
32 std::complex<T> rhs(3.5, 4.5);
33 std::complex<T> x(-2.0, -4.5);
38 std::complex<T> rhs(-3.5, 4.5);
39 std::complex<T> x(5.0, -4.5)
    [all...]
scalar_plus_complex.pass.cpp 10 // <complex>
13 // complex<T>
14 // operator+(const T& lhs, const complex<T>& rhs);
16 #include <complex>
21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x)
32 std::complex<T> rhs(3.5, 4.5);
33 std::complex<T> x(5.0, 4.5);
38 std::complex<T> rhs(-3.5, 4.5);
39 std::complex<T> x(-2.0, 4.5)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.ops/
complex_minus_scalar.pass.cpp 10 // <complex>
13 // complex<T>
14 // operator-(const complex<T>& lhs, const T& rhs);
16 #include <complex>
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x)
31 std::complex<T> lhs(1.5, 2.5);
33 std::complex<T> x(-2.0, 2.5);
37 std::complex<T> lhs(1.5, -2.5);
39 std::complex<T> x(5.0, -2.5)
    [all...]
complex_plus_scalar.pass.cpp 10 // <complex>
13 // complex<T>
14 // operator+(const complex<T>& lhs, const T& rhs);
16 #include <complex>
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x)
31 std::complex<T> lhs(1.5, 2.5);
33 std::complex<T> x(5.0, 2.5);
37 std::complex<T> lhs(1.5, -2.5);
39 std::complex<T> x(-2.0, -2.5)
    [all...]
scalar_minus_complex.pass.cpp 10 // <complex>
13 // complex<T>
14 // operator-(const T& lhs, const complex<T>& rhs);
16 #include <complex>
21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x)
32 std::complex<T> rhs(3.5, 4.5);
33 std::complex<T> x(-2.0, -4.5);
38 std::complex<T> rhs(-3.5, 4.5);
39 std::complex<T> x(5.0, -4.5)
    [all...]
scalar_plus_complex.pass.cpp 10 // <complex>
13 // complex<T>
14 // operator+(const T& lhs, const complex<T>& rhs);
16 #include <complex>
21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x)
32 std::complex<T> rhs(3.5, 4.5);
33 std::complex<T> x(5.0, 4.5);
38 std::complex<T> rhs(-3.5, 4.5);
39 std::complex<T> x(-2.0, 4.5)
    [all...]
  /external/libcxx/test/numerics/complex.number/complex.literals/
literals.pass.cpp 12 #include <complex>
22 static_assert ( std::is_same<decltype( 3.0il ), std::complex<long double>>::value, "" );
23 static_assert ( std::is_same<decltype( 3il ), std::complex<long double>>::value, "" );
24 static_assert ( std::is_same<decltype( 3.0i ), std::complex<double>>::value, "" );
25 static_assert ( std::is_same<decltype( 3i ), std::complex<double>>::value, "" );
26 static_assert ( std::is_same<decltype( 3.0if ), std::complex<float>>::value, "" );
27 static_assert ( std::is_same<decltype( 3if ), std::complex<float>>::value, "" );
30 std::complex<long double> c1 = 3.0il;
31 assert ( c1 == std::complex<long double>(0, 3.0));
37 std::complex<double> c1 = 3.0i
    [all...]
  /external/libcxx/test/numerics/complex.number/complex.transcendentals/
atan.pass.cpp 10 // <complex>
13 // complex<T>
14 // atan(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));
37 typedef std::complex<double> C;
41 std::complex<double> r = atan(x[i])
    [all...]
sin.pass.cpp 10 // <complex>
13 // complex<T>
14 // sin(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));
37 typedef std::complex<double> C;
42 std::complex<double> r = sin(x[i])
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.literals/
literals.pass.cpp 12 #include <complex>
22 static_assert ( std::is_same<decltype( 3.0il ), std::complex<long double>>::value, "" );
23 static_assert ( std::is_same<decltype( 3il ), std::complex<long double>>::value, "" );
24 static_assert ( std::is_same<decltype( 3.0i ), std::complex<double>>::value, "" );
25 static_assert ( std::is_same<decltype( 3i ), std::complex<double>>::value, "" );
26 static_assert ( std::is_same<decltype( 3.0if ), std::complex<float>>::value, "" );
27 static_assert ( std::is_same<decltype( 3if ), std::complex<float>>::value, "" );
30 std::complex<long double> c1 = 3.0il;
31 assert ( c1 == std::complex<long double>(0, 3.0));
37 std::complex<double> c1 = 3.0i
    [all...]
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/tr1/
complex 1 // TR1 complex -*- C++ -*-
25 /** @file tr1/complex
38 #include <complex>
41 # include <tr1_impl/complex>
47 # include <tr1_impl/complex>
65 inline std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type>
75 inline std::complex<_Tp>
76 pow(const std::complex<_Tp>& __x, const _Tp& __y)
80 inline std::complex<_Tp>
81 pow(const _Tp& __x, const std::complex<_Tp>& __y
    [all...]
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/tr1/
complex 1 // TR1 complex -*- C++ -*-
25 /** @file tr1/complex
38 #include <complex>
41 # include <tr1_impl/complex>
47 # include <tr1_impl/complex>
65 inline std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type>
75 inline std::complex<_Tp>
76 pow(const std::complex<_Tp>& __x, const _Tp& __y)
80 inline std::complex<_Tp>
81 pow(const _Tp& __x, const std::complex<_Tp>& __y
    [all...]
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/tr1/
complex 1 // TR1 complex -*- C++ -*-
25 /** @file tr1/complex
38 #include <complex>
41 # include <tr1_impl/complex>
47 # include <tr1_impl/complex>
65 inline std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type>
75 inline std::complex<_Tp>
76 pow(const std::complex<_Tp>& __x, const _Tp& __y)
80 inline std::complex<_Tp>
81 pow(const _Tp& __x, const std::complex<_Tp>& __y
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/tr1/
complex 1 // TR1 complex -*- C++ -*-
25 /** @file tr1/complex
38 #include <complex>
41 # include <tr1_impl/complex>
47 # include <tr1_impl/complex>
65 inline std::complex<typename __gnu_cxx::__promote_2<_Tp, _Up>::__type>
75 inline std::complex<_Tp>
76 pow(const std::complex<_Tp>& __x, const _Tp& __y)
80 inline std::complex<_Tp>
81 pow(const _Tp& __x, const std::complex<_Tp>& __y
    [all...]
  /external/eigen/unsupported/Eigen/src/FFT/
ei_kissfft_impl.h 21 typedef std::complex<Scalar> Complex;
22 std::vector<Complex> m_twiddles;
25 std::vector<Complex> m_scratchBuf;
36 m_twiddles[i] = exp( Complex(0,i*phinc) );
64 void work( int stage,Complex * xout, const _Src * xin, size_t fstride,size_t in_stride)
68 Complex * Fout_beg = xout;
69 Complex * Fout_end = xout + p*m;
99 void bfly2( Complex * Fout, const size_t fstride, int m)
102 Complex t = Fout[m+k] * m_twiddles[k*fstride]
    [all...]
  /external/llvm/test/CodeGen/X86/
widen_load-1.ll 21 "file complex.c, line 27, bb1":
23 br label %"file complex.c, line 27, bb13"
25 "file complex.c, line 27, bb13": ; preds = %"file complex.c, line 27, bb1"
31 br label %"file complex.c, line 34, bb4"
33 "file complex.c, line 34, bb4": ; preds = %"file complex.c, line 27, bb13"
38 br i1 %r8, label %"file complex.c, line 34, bb7", label %"file complex.c, line 27, bb5"
40 "file complex.c, line 27, bb5": ; preds = %"file complex.c, line 34, bb4
    [all...]
  /external/libcxx/test/numerics/complex.number/cmplx.over/
pow.pass.cpp 10 // <complex>
13 // complex<promote<T, U>::type>
14 // pow(const T& x, const complex<U>& y);
17 // complex<promote<T, U>::type>
18 // pow(const complex<T>& x, const U& y);
21 // complex<promote<T, U>::type>
22 // pow(const complex<T>& x, const complex<U>& y);
24 #include <complex>
40 test(T x, const std::complex<U>& y
    [all...]
  /external/libcxx/test/numerics/complex.number/complex.special/
double_long_double_implicit.fail.cpp 10 // <complex>
12 // template<> class complex<double>
15 // explicit constexpr complex(const complex<long double>&);
18 #include <complex>
23 const std::complex<long double> cd(2.5, 3.5);
24 std::complex<double> cf = cd;
float_double_implicit.fail.cpp 10 // <complex>
12 // template<> class complex<float>
15 // explicit constexpr complex(const complex<double>&);
18 #include <complex>
23 const std::complex<double> cd(2.5, 3.5);
24 std::complex<float> cf = cd;

Completed in 523 milliseconds

1 2 3 45 6 7 8 91011>>