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

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;
  /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...]
  /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 37 #include "wtf/Complex.h"
103 Complex c1(realP1[i], imagP1[i]);
104 Complex c2(realP2[i], imagP2[i]);
170 Complex c = complexFromMagnitudePhase(mag, phaseAccum);
192 Complex c(realP[i], imagP[i]);
239 Complex c(realP[i], imagP[i]);
245 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(),
  /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...]
  /external/clang/test/CodeGen/
xcore-stringtype.c 27 double _Complex Complex; // not supported
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
Font.h 40 // "X11/X.h" defines Complex to 0 and conflicts
41 // with Complex value in CodePath enum.
42 #ifdef Complex
43 #undef Complex
  /external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
complex.pxd 9 # 7.2.5.2 Complex Numbers as Python Objects
13 # This subtype of PyObject represents a Python complex number object.
15 ctypedef class __builtin__.complex [object PyComplexObject]:
22 # This instance of PyTypeObject represents the Python complex
23 # number type. It is the same object as complex and
35 # Create a new Python complex number object from a C Py_complex value.
48 # Return the Py_complex value of the complex number op.
  /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) {
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
RealtimeAnalyser.cpp 37 #include "wtf/Complex.h"
80 // m_magnitudeBuffer has size = fftSize / 2 because it contains floats reduced from complex values in m_analysisFrame.
185 // Convert the analysis data from complex to magnitude and average with the previous result.
189 Complex c(realP[i], imagP[i]);
  /external/neven/
Android.mk 27 Embedded/common/src/b_BasicEm/Complex.c \
  /external/clang/tools/libclang/
CXType.cpp 75 TKCASE(Complex);
469 TKIND(Complex);
623 case Type::Complex:
  /external/clang/lib/AST/
Type.cpp 405 // Check for GCC complex integer extension.
410 if (const ComplexType *Complex = getAs<ComplexType>())
411 if (Complex->getElementType()->isIntegerType())
412 return Complex;
    [all...]
  /external/chromium_org/chrome/browser/sync/glue/
synced_session_tracker_unittest.cc 103 TEST_F(SyncedSessionTrackerTest, Complex) {
  /external/javassist/src/test/test/javassist/convert/
ArrayAccessReplaceTest.java 29 CtClass clazz = pool.get(ArrayAccessReplaceTest.class.getName() + "$Complex");
390 public static class Complex implements ComplexInterface {

Completed in 842 milliseconds

1 2