HomeSort by relevance Sort by last modified time
    Searched refs:Complex (Results 1 - 25 of 55) sorted by null

1 2 3

  /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;
  /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...]
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...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_abstract_numbers.py 5 from numbers import Complex, Real, Rational, Integral
11 self.assertTrue(issubclass(int, Complex))
21 self.assertTrue(issubclass(long, Complex))
38 self.assertFalse(issubclass(complex, Real))
39 self.assertTrue(issubclass(complex, Complex))
41 c1, c2 = complex(3, 2), complex(4,1)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_abstract_numbers.py 5 from numbers import Complex, Real, Rational, Integral
11 self.assertTrue(issubclass(int, Complex))
21 self.assertTrue(issubclass(long, Complex))
38 self.assertFalse(issubclass(complex, Real))
39 self.assertTrue(issubclass(complex, Complex))
41 c1, c2 = complex(3, 2), complex(4,1)
  /external/chromium_org/third_party/WebKit/Source/platform/audio/
Biquad.h 34 #include "wtf/Complex.h"
68 void setZeroPolePairs(const Complex& zero, const Complex& pole);
72 void setAllpassPole(const Complex& pole);
Biquad.cpp 527 void Biquad::setZeroPolePairs(const Complex &zero, const Complex &pole)
542 void Biquad::setAllpassPole(const Complex &pole)
544 Complex zero = Complex(1, 0) / pole;
578 Complex z = Complex(cos(omega), sin(omega));
579 Complex numerator = b0 + (b1 + b2 * z) * z;
580 Complex denominator = Complex(1, 0) + (a1 + a2 * z) * z
    [all...]
FFTFrame.cpp 42 #include "wtf/Complex.h"
104 Complex c1(realP1[i], imagP1[i]);
105 Complex c2(realP2[i], imagP2[i]);
171 Complex c = complexFromMagnitudePhase(mag, phaseAccum);
193 Complex c(realP[i], imagP[i]);
240 Complex c(realP[i], imagP[i]);
246 Complex c2 = complexFromMagnitudePhase(mag, phase);
  /external/eigen/test/
eigensolver_generic.cpp 27 typedef typename std::complex<typename NumTraits<typename MatrixType::Scalar>::Real> Complex;
36 VERIFY_IS_APPROX((symmA.template cast<Complex>()) * (ei0.pseudoEigenvectors().template cast<Complex>()),
37 (ei0.pseudoEigenvectors().template cast<Complex>()) * (ei0.eigenvalues().asDiagonal()));
42 VERIFY_IS_APPROX(a.template cast<Complex>() * ei1.eigenvectors(),
  /external/eigen/test/eigen2/
eigen2_eigensolver.cpp 29 typedef typename std::complex<typename NumTraits<typename MatrixType::Scalar>::Real> Complex;
112 typedef typename std::complex<typename NumTraits<typename MatrixType::Scalar>::Real> Complex;
122 VERIFY_IS_APPROX((symmA.template cast<Complex>()) * (ei0.pseudoEigenvectors().template cast<Complex>()),
123 (ei0.pseudoEigenvectors().template cast<Complex>()) * (ei0.eigenvalues().asDiagonal()));
127 VERIFY_IS_APPROX(a.template cast<Complex>() * ei1.eigenvectors(),
  /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/test/
FFTW.cpp 14 std::complex<T> RandomCpx() { return std::complex<T>( (T)(rand()/(T)RAND_MAX - .5), (T)(rand()/(T)RAND_MAX - .5) ); }
21 complex<long double> promote(complex<T> x) { return complex<long double>(x.real(),x.imag()); }
23 complex<long double> promote(float x) { return complex<long double>( x); }
24 complex<long double> promote(double x) { return complex<long double>( x); }
25 complex<long double> promote(long double x) { return complex<long double>( x);
    [all...]
  /external/eigen/bench/
benchFFT.cpp 13 #include <complex>
47 typedef typename std::complex<Scalar> Complex;
50 vector<Complex > outbuf(nfft);
82 cout << "complex";
99 bench<complex<float> >(NFFT,true);
100 bench<complex<float> >(NFFT,false);
106 bench<complex<double> >(NFFT,true);
107 bench<complex<double> >(NFFT,false);
110 bench<complex<long double> >(NFFT,true)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
numbers.py 11 __all__ = ["Number", "Complex", "Real", "Rational", "Integral"]
34 class Complex(Number):
35 """Complex defines the operations that work on the builtin complex type.
37 In short, those are: a conversion to complex, .real, .imag, +, -,
41 knowledge about them, it should fall back to the builtin complex
49 """Return a builtin complex instance. Called for complex(self)."""
138 """self**exponent; should promote to float or complex when necessary."""
166 Complex.register(complex
    [all...]
fractions.py 300 # float and complex don't have those operations, but we
304 elif isinstance(other, complex):
305 return complex(self) + other
318 elif isinstance(other, Complex):
319 return complex(other) + complex(self)
325 refer to Fraction, float, or complex as "boilerplate". 'r'
328 Complex. The first three involve 'r + b':
330 1. If B <: Fraction, int, float, or complex, we handle
343 Complex
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
numbers.py 11 __all__ = ["Number", "Complex", "Real", "Rational", "Integral"]
34 class Complex(Number):
35 """Complex defines the operations that work on the builtin complex type.
37 In short, those are: a conversion to complex, .real, .imag, +, -,
41 knowledge about them, it should fall back to the builtin complex
49 """Return a builtin complex instance. Called for complex(self)."""
138 """self**exponent; should promote to float or complex when necessary."""
166 Complex.register(complex
    [all...]
fractions.py 300 # float and complex don't have those operations, but we
304 elif isinstance(other, complex):
305 return complex(self) + other
318 elif isinstance(other, Complex):
319 return complex(other) + complex(self)
325 refer to Fraction, float, or complex as "boilerplate". 'r'
328 Complex. The first three involve 'r + b':
330 1. If B <: Fraction, int, float, or complex, we handle
343 Complex
    [all...]
  /external/clang/test/CodeGen/
xcore-stringtype.c 27 double _Complex Complex; // not supported
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
Font.h 39 // "X11/X.h" defines Complex to 0 and conflicts
40 // with Complex value in CodePath enum.
41 #ifdef Complex
42 #undef Complex
  /external/eigen/blas/
level1_cplx_impl.h 26 // computes the sum of magnitudes of all vector elements or, for a complex vector x, the sum
31 Complex* x = reinterpret_cast<Complex*>(px);
58 // computes a vector-vector dot product without complex conjugation.
common.h 17 #include <complex>
88 typedef std::complex<RealScalar> Complex;
  /external/clang/lib/CodeGen/
CGExprConstant.cpp     [all...]
CGValue.h 35 /// simple LLVM SSA value, a pair of SSA values for complex numbers, or the
38 enum Flavor { Scalar, Complex, Aggregate };
47 bool isComplex() const { return V1.getInt() == Complex; }
58 /// getComplexVal - Return the real/imag components of this complex value.
81 ER.V1.setInt(Complex);
  /external/chromium_org/v8/test/mjsunit/
indexed-accessors.js 99 // Complex case of using an undefined getter.
  /external/chromium_org/base/threading/
worker_pool_posix_unittest.cc 201 TEST_F(PosixDynamicThreadPoolTest, Complex) {

Completed in 725 milliseconds

1 2 3