HomeSort by relevance Sort by last modified time
    Searched refs:Complex (Results 1 - 25 of 61) 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;
35 m_twiddles[i] = exp( Complex(0,i*phinc) );
63 void work( int stage,Complex * xout, const _Src * xin, size_t fstride,size_t in_stride)
67 Complex * Fout_beg = xout;
68 Complex * Fout_end = xout + p*m;
98 void bfly2( Complex * Fout, const size_t fstride, int m)
101 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/core/platform/audio/
Biquad.h 34 #include "wtf/Complex.h"
67 void setZeroPolePairs(const Complex& zero, const Complex& pole);
71 void setAllpassPole(const Complex& pole);
Biquad.cpp 525 void Biquad::setZeroPolePairs(const Complex &zero, const Complex &pole)
540 void Biquad::setAllpassPole(const Complex &pole)
542 Complex zero = Complex(1, 0) / pole;
576 Complex z = Complex(cos(omega), sin(omega));
577 Complex numerator = b0 + (b1 + b2 * z) * z;
578 Complex denominator = Complex(1, 0) + (a1 + a2 * z) * z
    [all...]
FFTFrame.cpp 40 #include "wtf/Complex.h"
102 Complex c1(realP1[i], imagP1[i]);
103 Complex c2(realP2[i], imagP2[i]);
169 Complex c = complexFromMagnitudePhase(mag, phaseAccum);
191 Complex c(realP[i], imagP[i]);
238 Complex c(realP[i], imagP[i]);
244 Complex c2 = complexFromMagnitudePhase(mag, phase);
  /external/eigen/test/
eigensolver_generic.cpp 28 typedef typename std::complex<typename NumTraits<typename MatrixType::Scalar>::Real> Complex;
37 VERIFY_IS_APPROX((symmA.template cast<Complex>()) * (ei0.pseudoEigenvectors().template cast<Complex>()),
38 (ei0.pseudoEigenvectors().template cast<Complex>()) * (ei0.eigenvalues().asDiagonal()));
43 VERIFY_IS_APPROX(a.template cast<Complex>() * ei1.eigenvectors(),
eigensolver_complex.cpp 46 typedef typename std::complex<typename NumTraits<typename MatrixType::Scalar>::Real> Complex;
101 CALL_SUBTEST_3( eigensolver(Matrix<std::complex<float>, 1, 1>()) );
108 CALL_SUBTEST_3( eigensolver_verify_assert(Matrix<std::complex<float>, 1, 1>()) );
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
Font.cpp 188 if (codePathToUse != Complex && typesettingFeatures() && (runInfo.from || runInfo.to != runInfo.run.length()))
189 codePathToUse = Complex;
191 if (codePathToUse != Complex)
204 if (codePathToUse != Complex && typesettingFeatures() && (runInfo.from || runInfo.to != runInfo.run.length()))
205 codePathToUse = Complex;
207 if (codePathToUse != Complex)
216 if (codePathToUse != Complex) {
217 // The complex path is more restrictive about returning fallback fonts than the simple path, so we need an explicit test to make their behaviors match.
232 if (codePathToUse == Complex)
279 if (codePathToUse != Complex && typesettingFeatures() && (from || to != run.length())
    [all...]
FontTest.cpp 51 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(start, 1));
52 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(midway, 1));
53 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(end, 1));
77 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(c3, 1));
79 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(c4, 1));
81 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(c5, 1));
120 /* To be Complex, the Supplementary Character must be in either */
127 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(c7, 2));
129 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(c8, 2));
131 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(c9, 2))
    [all...]
Font.h 38 // "X11/X.h" defines Complex to 0 and conflicts
39 // with Complex value in CodePath enum.
40 #ifdef Complex
41 #undef Complex
165 enum CodePath { Auto, Simple, Complex, SimpleWithGlyphOverflow };
  /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(),
  /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/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...]
  /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 14 #include <complex>
83 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/v8/test/mjsunit/
indexed-accessors.js 99 // Complex case of using an undefined getter.

Completed in 517 milliseconds

1 2 3