/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...] |
/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...] |
imag.pass.cpp | 10 // <complex> 14 // imag(const complex<T>& x); 16 #include <complex> 23 std::complex<T> z(1.5, 2.5);
|
/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);
|
MatrixFunction.cpp | 6 std::complex<double> expfn(std::complex<double> x, int)
|
/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/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...] |
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;
|
stream_output.pass.cpp | 10 // <complex> 14 // operator<<(basic_ostream<charT, traits>& o, const complex<T>& x); 16 #include <complex> 22 std::complex<double> c(1, 2);
|
/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;
|
/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);
|
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);
|
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);
|
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);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 10 complex_zeros = [complex(x, y) for x in [0.0, -0.0] for y in [0.0, -0.0]] 11 complex_infinities = [complex(x, y) for x, y in [ 33 complex_nans = [complex(x, y) for x, y in [ 132 # a variety of non-complex numbers, used to check that 133 # non-complex return values from __complex__ give an error 134 non_complexes = ["not complex", 1, 5L, 2., None, 215 # non-complex return value from __complex__ -> TypeError 288 """Wrapped version of rect that accepts a complex number instead of 293 """Wrapped version of polar that returns a complex number instead of 295 return complex(*polar(z) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 10 complex_zeros = [complex(x, y) for x in [0.0, -0.0] for y in [0.0, -0.0]] 11 complex_infinities = [complex(x, y) for x, y in [ 33 complex_nans = [complex(x, y) for x, y in [ 132 # a variety of non-complex numbers, used to check that 133 # non-complex return values from __complex__ give an error 134 non_complexes = ["not complex", 1, 5L, 2., None, 215 # non-complex return value from __complex__ -> TypeError 288 """Wrapped version of rect that accepts a complex number instead of 293 """Wrapped version of polar that returns a complex number instead of 295 return complex(*polar(z) [all...] |
/external/eigen/unsupported/test/ |
FFTW.cpp | 14 std::complex<T> RandomCpx() { return std::complex<T>( (T)(rand()/(T)RAND_MAX - .5), (T)(rand()/(T)RAND_MAX - .5) ); } 24 complex<long double> promote(complex<T> x) { return complex<long double>(x.real(),x.imag()); } 26 complex<long double> promote(float x) { return complex<long double>( x); } 27 complex<long double> promote(double x) { return complex<long double>( x); } 28 complex<long double> promote(long double x) { return complex<long double>( x); [all...] |
/external/chromium_org/tools/clang/plugins/tests/ |
inline_copy_ctor.txt | 2 ./inline_copy_ctor.h:5:1: warning: [chromium-style] Complex class/struct needs an explicit out-of-line copy constructor.
|
/external/clang/test/Analysis/ |
complex-init-list.cpp | 4 // Do not crash on initialization to complex numbers.
|
/external/clang/test/CXX/expr/expr.ass/ |
p9-cxx11.cpp | 3 template<typename T> struct complex { struct 4 complex(T = T(), T = T()); 5 void operator+=(complex); 10 complex<double> z;
|
/external/stlport/test/unit/ |
complex_header_test.cpp | 8 #include <complex>
|
/external/tinyalsa/ |
README | 7 - Avoid supporting complex and unnecessary operations that could be
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex/ |
types.pass.cpp | 10 // <complex> 13 // class complex 20 #include <complex> 27 typedef std::complex<T> C;
|