/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug329.go | 20 func (Value) Complex(x complex128) { 23 panic("bad complex magic") 45 v.Complex(f(nil, 0, 0)) // used to fail
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug329.go | 20 func (Value) Complex(x complex128) { 23 panic("bad complex magic") 45 v.Complex(f(nil, 0, 0)) // used to fail
|
/external/clang/unittests/Tooling/ |
QualTypeNamesTest.cpp | 168 TypeNameVisitor Complex; 169 Complex.ExpectedQualTypeNames["CheckTX"] = "B::TX"; 170 Complex.runOver(
|
/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/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/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...] |
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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
Complex.py | 0 # Complex numbers
4 # [Now that Python has a complex data type built-in, this is not very
7 # This module represents complex numbers as instances of the class Complex.
8 # A Complex instance z has two data attribues, z.re (the real part) and z.im
13 # The following functions exist (Complex is actually a class):
14 # Complex([re [,im]) -> creates a complex number from a real and an imaginary part
15 # IsComplex(z) -> true iff z is a complex number (== has .re and .im attributes)
16 # ToComplex(z) -> a complex number equal to z; z itself if IsComplex(z) is true [all...] |
/external/eigen/blas/ |
common.h | 16 #include <complex> 86 typedef std::complex<RealScalar> Complex;
|
/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>((long double)x.real(),(long double)x.imag()); } 23 complex<long double> promote(float x) { return complex<long double>((long double)x); } 24 complex<long double> promote(double x) { return complex<long double>((long double)x); } 25 complex<long double> promote(long double x) { return complex<long double>((long double)x); [all...] |
/external/python/cpython2/Demo/classes/ |
Complex.py | 0 # Complex numbers 4 # [Now that Python has a complex data type built-in, this is not very 7 # This module represents complex numbers as instances of the class Complex. 8 # A Complex instance z has two data attribues, z.re (the real part) and z.im 13 # The following functions exist (Complex is actually a class): 14 # Complex([re [,im]) -> creates a complex number from a real and an imaginary part 15 # IsComplex(z) -> true iff z is a complex number (== has .re and .im attributes) 16 # ToComplex(z) -> a complex number equal to z; z itself if IsComplex(z) is tru [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
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/clang/test/CodeGen/ |
xcore-stringtype.c | 35 double _Complex Complex; // not supported
|
/external/python/cpython2/Lib/ |
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/python/cpython3/Lib/ |
numbers.py | 10 __all__ = ["Number", "Complex", "Real", "Rational", "Integral"] 32 class Complex(Number): 33 """Complex defines the operations that work on the builtin complex type. 35 In short, those are: a conversion to complex, .real, .imag, +, -, 39 knowledge about them, it should fall back to the builtin complex 47 """Return a builtin complex instance. Called for complex(self).""" 121 """self**exponent; should promote to float or complex when necessary.""" 144 Complex.register(complex [all...] |
/external/tensorflow/tensorflow/go/ |
tensor.go | 48 Complex DataType = C.TF_COMPLEX 230 {reflect.TypeOf(complex(float32(0), float32(0))), C.TF_COMPLEX64}, 235 {reflect.TypeOf(complex(float64(0), float64(0))), C.TF_COMPLEX128}, 485 case Float, Double, Int32, Uint8, Int16, Int8, Complex, Int64, Bool, Quint8, Qint32, Bfloat16, Qint16, Quint16, Uint16, Complex128, Half:
|
/prebuilts/gdb/darwin-x86/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...] |
/prebuilts/gdb/linux-x86/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...] |
/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...] |
/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/apache-commons-math/src/main/java/org/apache/commons/math/complex/ |
Complex.java | 18 package org.apache.commons.math.complex; 31 * Representation of a Complex number - a number which has both a 48 public class Complex implements FieldElement<Complex>, Serializable { 51 public static final Complex I = new Complex(0.0, 1.0); 54 /** A complex number representing "NaN + NaNi" */ 55 public static final Complex NaN = new Complex(Double.NaN, Double.NaN); 58 /** A complex number representing "+INF + INFi" * [all...] |
/prebuilts/go/darwin-x86/src/go/constant/ |
value.go | 40 Complex 92 func (complexVal) Kind() Kind { return Complex } 509 // x must be numeric or an Unknown, but not Complex. For values too small (too close to 0) 550 // x must be numeric or Unknown. For complex values x, the sign is 0 if x == 0, 694 // MakeImag returns the Complex value x*i; 812 // ToComplex converts x to a Complex value if x is representable as a Complex.
|
/prebuilts/go/linux-x86/src/go/constant/ |
value.go | 40 Complex 92 func (complexVal) Kind() Kind { return Complex } 509 // x must be numeric or an Unknown, but not Complex. For values too small (too close to 0) 550 // x must be numeric or Unknown. For complex values x, the sign is 0 if x == 0, 694 // MakeImag returns the Complex value x*i; 812 // ToComplex converts x to a Complex value if x is representable as a Complex.
|
/external/golang-protobuf/jsonpb/jsonpb_test_proto/ |
test_objects.pb.go | 587 type Complex struct { 593 func (m *Complex) Reset() { *m = Complex{} } 594 func (m *Complex) String() string { return proto.CompactTextString(m) } 595 func (*Complex) ProtoMessage() {} 596 func (*Complex) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} } 602 func (*Complex) ExtensionRangeArray() []proto.ExtensionRange { 606 func (m *Complex) GetImaginary() float64 { 615 ExtensionType: (*Complex)(nil), 617 Name: "jsonpb.Complex.real_extension" [all...] |