/external/libcxx/test/numerics/complex.number/complex.literals/ |
literals2.pass.cpp | 12 #include <complex> 22 std::complex<long double> c1 = 3.0il; 23 assert ( c1 == std::complex<long double>(0, 3.0)); 29 std::complex<double> c1 = 3.0i; 30 assert ( c1 == std::complex<double>(0, 3.0)); 36 std::complex<float> c1 = 3.0if; 37 assert ( c1 == std::complex<float>(0, 3.0));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.literals/ |
literals1.pass.cpp | 12 #include <complex> 22 std::complex<long double> c1 = 3.0il; 23 assert ( c1 == std::complex<long double>(0, 3.0)); 29 std::complex<double> c1 = 3.0i; 30 assert ( c1 == std::complex<double>(0, 3.0)); 36 std::complex<float> c1 = 3.0if; 37 assert ( c1 == std::complex<float>(0, 3.0));
|
literals2.pass.cpp | 12 #include <complex> 22 std::complex<long double> c1 = 3.0il; 23 assert ( c1 == std::complex<long double>(0, 3.0)); 29 std::complex<double> c1 = 3.0i; 30 assert ( c1 == std::complex<double>(0, 3.0)); 36 std::complex<float> c1 = 3.0if; 37 assert ( c1 == std::complex<float>(0, 3.0));
|
/prebuilts/misc/common/swig/include/2.0.11/octave/ |
octcomplex.swg | 2 Defines the As/From conversors for double/float complex, you need to 3 provide complex Type, the Name you want to use in the conversors, 4 the complex Constructor method, and the Real and Imag complex 32 Complex c(ov.complex_value()); 48 %swig_fromcplx_conv(Type, Complex, Real, Imag); 60 Complex c(ov.complex_value());
|
/external/eigen/unsupported/Eigen/src/FFT/ |
ei_fftw_impl.h | 20 // 2. fftw_complex is compatible with std::complex 21 // This assumes std::complex<T> layout is array of size 2 with real,imag 30 fftw_complex * fftw_cast( const std::complex<double> * p) 36 fftwf_complex * fftw_cast( const std::complex<float> * p) 42 fftwl_complex * fftw_cast( const std::complex<long double> * p) 180 typedef std::complex<Scalar> Complex; 188 // complex-to-complex forward FFT 190 void fwd( Complex * dst,const Complex *src,int nfft [all...] |
/external/libcxx/test/numerics/complex.number/complex.value.ops/ |
polar.pass.cpp | 10 // <complex> 13 // complex<T> 16 #include <complex> 23 test(const T& rho, std::complex<T> x) 30 test(const T& rho, const T& theta, std::complex<T> x) 39 test(T(0), std::complex<T>(0, 0)); 40 test(T(1), std::complex<T>(1, 0)); 41 test(T(100), std::complex<T>(100, 0)); 42 test(T(0), T(0), std::complex<T>(0, 0)); 43 test(T(1), T(0), std::complex<T>(1, 0)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/ |
polar.pass.cpp | 10 // <complex> 13 // complex<T> 16 #include <complex> 23 test(const T& rho, std::complex<T> x) 30 test(const T& rho, const T& theta, std::complex<T> x) 39 test(T(0), std::complex<T>(0, 0)); 40 test(T(1), std::complex<T>(1, 0)); 41 test(T(100), std::complex<T>(100, 0)); 42 test(T(0), T(0), std::complex<T>(0, 0)); 43 test(T(1), T(0), std::complex<T>(1, 0)) [all...] |
/external/eigen/unsupported/doc/examples/ |
FFT.cpp | 12 #include <complex> 28 T mag2(std::complex<T> a) 43 T mag2(const std::vector<std::complex<T> > & vec) 68 void RandomFill(std::vector<std::complex<T> > & vec) 71 vec[k] = std::complex<T> ( T( rand() )/T(RAND_MAX) - .5, T( rand() )/T(RAND_MAX) - .5); 96 fwd_inv<T_scalar,std::complex<T_scalar> >(nfft); 97 cout << " complex "; 98 fwd_inv<std::complex<T_scalar>,std::complex<T_scalar> >(nfft);
|
/external/libcxx/test/numerics/complex.number/complex.member.ops/ |
divide_equal_complex.pass.cpp | 10 // <complex> 12 // complex& operator/=(const complex& rhs); 14 #include <complex> 21 std::complex<T> c(-4, 7.5); 22 const std::complex<T> c2(1.5, 2.5); 32 std::complex<T> c3; 35 std::complex<int> ic (1,1); 41 std::complex<float> fc (1,1);
|
minus_equal_complex.pass.cpp | 10 // <complex> 12 // complex& operator-=(const complex& rhs); 14 #include <complex> 21 std::complex<T> c; 22 const std::complex<T> c2(1.5, 2.5); 32 std::complex<T> c3; 35 std::complex<int> ic (1,1); 41 std::complex<float> fc (1,1);
|
plus_equal_complex.pass.cpp | 10 // <complex> 12 // complex& operator+=(const complex& rhs); 14 #include <complex> 21 std::complex<T> c; 22 const std::complex<T> c2(1.5, 2.5); 32 std::complex<T> c3; 35 std::complex<int> ic (1,1); 41 std::complex<float> fc (1,1);
|
times_equal_complex.pass.cpp | 10 // <complex> 12 // complex& operator*=(const complex& rhs); 14 #include <complex> 21 std::complex<T> c(1); 22 const std::complex<T> c2(1.5, 2.5); 32 std::complex<T> c3; 35 std::complex<int> ic (1,1); 41 std::complex<float> fc (1,1);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.member.ops/ |
divide_equal_complex.pass.cpp | 10 // <complex> 12 // complex& operator/=(const complex& rhs); 14 #include <complex> 21 std::complex<T> c(-4, 7.5); 22 const std::complex<T> c2(1.5, 2.5); 32 std::complex<T> c3; 35 std::complex<int> ic (1,1); 41 std::complex<float> fc (1,1);
|
minus_equal_complex.pass.cpp | 10 // <complex> 12 // complex& operator-=(const complex& rhs); 14 #include <complex> 21 std::complex<T> c; 22 const std::complex<T> c2(1.5, 2.5); 32 std::complex<T> c3; 35 std::complex<int> ic (1,1); 41 std::complex<float> fc (1,1);
|
plus_equal_complex.pass.cpp | 10 // <complex> 12 // complex& operator+=(const complex& rhs); 14 #include <complex> 21 std::complex<T> c; 22 const std::complex<T> c2(1.5, 2.5); 32 std::complex<T> c3; 35 std::complex<int> ic (1,1); 41 std::complex<float> fc (1,1);
|
times_equal_complex.pass.cpp | 10 // <complex> 12 // complex& operator*=(const complex& rhs); 14 #include <complex> 21 std::complex<T> c(1); 22 const std::complex<T> c2(1.5, 2.5); 32 std::complex<T> c3; 35 std::complex<int> ic (1,1); 41 std::complex<float> fc (1,1);
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
compare.h | 17 /* SNR (in dB) for real component (for complex signals) */ 20 /* SNR (in dB) for imaginary component (for complex signals) */ 23 /* SNR (in dB) for real and complex component (for complex signals) */ 31 * complex component. The computed SNR is in dBs.
|
/external/clang/test/SemaCXX/ |
complex-init-list.cpp | 5 // of a complex number individually using an initialization list. Basically, 6 // if you have an explicit init list for a complex number that contains two 11 // test/Sema/complex-init-list.c.
|
/external/libcxx/test/numerics/complex.number/complex.ops/ |
complex_divide_complex.pass.cpp | 10 // <complex> 13 // complex<T> 14 // operator/(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 23 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) 32 std::complex<T> lhs(-4.0, 7.5); 33 std::complex<T> rhs(1.5, 2.5) [all...] |
complex_times_complex.pass.cpp | 10 // <complex> 13 // complex<T> 14 // operator*(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 23 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) 32 std::complex<T> lhs(1.5, 2.5); 33 std::complex<T> rhs(1.5, 2.5) [all...] |
unary_minus.pass.cpp | 10 // <complex> 13 // complex<T> 14 // operator-(const complex<T>& lhs); 16 #include <complex> 23 std::complex<T> z(1.5, 2.5); 26 std::complex<T> c = -z;
|
/external/speex/libspeex/ |
kiss_fftr.h | 12 Real optimized version can save about 45% cpu time vs. complex fft of a real seq. 32 output freqdata has nfft/2+1 complex points 42 input freqdata has nfft/2+1 complex points
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.ops/ |
complex_divide_complex.pass.cpp | 10 // <complex> 13 // complex<T> 14 // operator/(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 23 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) 32 std::complex<T> lhs(-4.0, 7.5); 33 std::complex<T> rhs(1.5, 2.5) [all...] |
complex_times_complex.pass.cpp | 10 // <complex> 13 // complex<T> 14 // operator*(const complex<T>& lhs, const complex<T>& rhs); 16 #include <complex> 23 test(const std::complex<T>& lhs, const std::complex<T>& rhs, std::complex<T> x) 32 std::complex<T> lhs(1.5, 2.5); 33 std::complex<T> rhs(1.5, 2.5) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
Complex.h | 32 #include <complex> 37 typedef std::complex<double> Complex; 39 inline Complex complexFromMagnitudePhase(double magnitude, double phase) 41 return Complex(magnitude * cos(phase), magnitude * sin(phase)); 46 using WTF::Complex;
|