| /external/deqp/external/openglcts/data/gl_cts/data/mustpass/gles/khronos_mustpass/3.2.6.x/ |
| D | gles32-khr-glesext.txt | 33 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_6x6 34 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_37x37 35 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_256x256 36 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_msaa_6x6 37 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_msaa_37x37 38 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_msaa_256x256 39 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_replace_6x6 40 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_replace_37x37 41 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_replace_256x256 42 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_replace_msaa_6x6 [all …]
|
| /external/deqp/external/openglcts/data/gl_cts/data/mustpass/gles/khronos_mustpass/main/ |
| D | gles32-khr-glesext.txt | 33 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_6x6 34 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_37x37 35 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_256x256 36 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_msaa_6x6 37 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_msaa_37x37 38 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_keep_msaa_256x256 39 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_replace_6x6 40 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_replace_37x37 41 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_replace_256x256 42 KHR-GLESEXT.fragment_shading_rate.complex.attachment_keep_replace_msaa_6x6 [all …]
|
| /external/musl/include/ |
| D | complex.h | 8 #define complex _Complex macro 16 double complex cacos(double complex); 17 float complex cacosf(float complex); 18 long double complex cacosl(long double complex); 20 double complex casin(double complex); 21 float complex casinf(float complex); 22 long double complex casinl(long double complex); 24 double complex catan(double complex); 25 float complex catanf(float complex); 26 long double complex catanl(long double complex); [all …]
|
| /external/trusty/musl/include/ |
| D | complex.h | 8 #define complex _Complex macro 16 double complex cacos(double complex); 17 float complex cacosf(float complex); 18 long double complex cacosl(long double complex); 20 double complex casin(double complex); 21 float complex casinf(float complex); 22 long double complex casinl(long double complex); 24 double complex catan(double complex); 25 float complex catanf(float complex); 26 long double complex catanl(long double complex); [all …]
|
| /external/libcxx/include/ |
| D | complex | 2 //===--------------------------- complex ----------------------------------===// 15 complex synopsis 21 class complex 26 complex(const T& re = T(), const T& im = T()); // constexpr in C++14 27 complex(const complex&); // constexpr in C++14 28 template<class X> complex(const complex<X>&); // constexpr in C++14 36 complex<T>& operator= (const T&); 37 complex<T>& operator+=(const T&); 38 complex<T>& operator-=(const T&); 39 complex<T>& operator*=(const T&); [all …]
|
| /external/libcxx/test/std/numerics/complex.number/ |
| D | cases.h | 10 // <complex> 17 #include <complex> 20 const std::complex<double> testcases[] = 22 std::complex<double>( 1.e-6, 1.e-6), 23 std::complex<double>(-1.e-6, 1.e-6), 24 std::complex<double>(-1.e-6, -1.e-6), 25 std::complex<double>( 1.e-6, -1.e-6), 27 std::complex<double>( 1.e+6, 1.e-6), 28 std::complex<double>(-1.e+6, 1.e-6), 29 std::complex<double>(-1.e+6, -1.e-6), [all …]
|
| /external/cronet/stable/third_party/libc++/src/include/ |
| D | complex | 14 complex synopsis 20 class complex 25 complex(const T& re = T(), const T& im = T()); // constexpr in C++14 26 complex(const complex&); // constexpr in C++14 27 template<class X> complex(const complex<X>&); // constexpr in C++14 35 complex<T>& operator= (const T&); // constexpr in C++20 36 complex<T>& operator+=(const T&); // constexpr in C++20 37 complex<T>& operator-=(const T&); // constexpr in C++20 38 complex<T>& operator*=(const T&); // constexpr in C++20 39 complex<T>& operator/=(const T&); // constexpr in C++20 [all …]
|
| /external/cronet/tot/third_party/libc++/src/include/__cxx03/ |
| D | complex | 14 complex synopsis 20 class complex 25 complex(const T& re = T(), const T& im = T()); // constexpr in C++14 26 complex(const complex&); // constexpr in C++14 27 template<class X> complex(const complex<X>&); // constexpr in C++14 35 complex<T>& operator= (const T&); // constexpr in C++20 36 complex<T>& operator+=(const T&); // constexpr in C++20 37 complex<T>& operator-=(const T&); // constexpr in C++20 38 complex<T>& operator*=(const T&); // constexpr in C++20 39 complex<T>& operator/=(const T&); // constexpr in C++20 [all …]
|
| /external/cronet/tot/third_party/libc++/src/include/ |
| D | complex | 14 complex synopsis 20 class complex 25 complex(const T& re = T(), const T& im = T()); // constexpr in C++14 26 complex(const complex&); // constexpr in C++14 27 template<class X> complex(const complex<X>&); // constexpr in C++14 35 complex<T>& operator= (const T&); // constexpr in C++20 36 complex<T>& operator+=(const T&); // constexpr in C++20 37 complex<T>& operator-=(const T&); // constexpr in C++20 38 complex<T>& operator*=(const T&); // constexpr in C++20 39 complex<T>& operator/=(const T&); // constexpr in C++20 [all …]
|
| /external/cronet/stable/third_party/libc++/src/include/__cxx03/ |
| D | complex | 14 complex synopsis 20 class complex 25 complex(const T& re = T(), const T& im = T()); // constexpr in C++14 26 complex(const complex&); // constexpr in C++14 27 template<class X> complex(const complex<X>&); // constexpr in C++14 35 complex<T>& operator= (const T&); // constexpr in C++20 36 complex<T>& operator+=(const T&); // constexpr in C++20 37 complex<T>& operator-=(const T&); // constexpr in C++20 38 complex<T>& operator*=(const T&); // constexpr in C++20 39 complex<T>& operator/=(const T&); // constexpr in C++20 [all …]
|
| /external/cronet/tot/third_party/libc++/src/test/std/numerics/complex.number/ |
| D | cases.h | 9 // <complex> 17 #include <complex> 22 TEST_CONSTEXPR_CXX20 const std::complex<double> testcases[] = 24 std::complex<double>( 1.e-6, 1.e-6), 25 std::complex<double>(-1.e-6, 1.e-6), 26 std::complex<double>(-1.e-6, -1.e-6), 27 std::complex<double>( 1.e-6, -1.e-6), 29 std::complex<double>( 1.e+6, 1.e-6), 30 std::complex<double>(-1.e+6, 1.e-6), 31 std::complex<double>(-1.e+6, -1.e-6), [all …]
|
| /external/cronet/stable/third_party/libc++/src/test/std/numerics/complex.number/ |
| D | cases.h | 9 // <complex> 17 #include <complex> 22 TEST_CONSTEXPR_CXX20 const std::complex<double> testcases[] = 24 std::complex<double>( 1.e-6, 1.e-6), 25 std::complex<double>(-1.e-6, 1.e-6), 26 std::complex<double>(-1.e-6, -1.e-6), 27 std::complex<double>( 1.e-6, -1.e-6), 29 std::complex<double>( 1.e+6, 1.e-6), 30 std::complex<double>(-1.e+6, 1.e-6), 31 std::complex<double>(-1.e+6, -1.e-6), [all …]
|
| /external/pytorch/c10/util/ |
| D | complex.h | 3 #include <complex> 8 #include <thrust/complex.h> 21 // c10::complex is an implementation of complex numbers that aims 24 // Most of the APIs duplicates std::complex 25 // Reference: https://en.cppreference.com/w/cpp/numeric/complex 27 // [NOTE: Complex Operator Unification] 28 // Operators currently use a mix of std::complex, thrust::complex, and 29 // c10::complex internally. The end state is that all operators will use 30 // c10::complex internally. Until then, there may be some hacks to support all 37 // https://en.cppreference.com/w/cpp/numeric/complex/complex [all …]
|
| D | complex_math.h | 3 …"c10/util/complex_math.h is not meant to be individually included. Include c10/util/complex.h inst… 11 C10_HOST_DEVICE inline c10::complex<T> exp(const c10::complex<T>& x) { in exp() 13 return static_cast<c10::complex<T>>( in exp() 14 thrust::exp(static_cast<thrust::complex<T>>(x))); in exp() 16 return static_cast<c10::complex<T>>( in exp() 17 std::exp(static_cast<std::complex<T>>(x))); in exp() 22 C10_HOST_DEVICE inline c10::complex<T> log(const c10::complex<T>& x) { in log() 24 return static_cast<c10::complex<T>>( in log() 25 thrust::log(static_cast<thrust::complex<T>>(x))); in log() 27 return static_cast<c10::complex<T>>( in log() [all …]
|
| /external/pytorch/aten/src/ATen/cuda/ |
| D | llvm_complex.cpp | 2 // - https://github.com/llvm/llvm-project/blob/main/libcxx/include/complex 23 template<class _Tp> class complex; 25 template<class _Tp> complex<_Tp> operator*(const complex<_Tp>& __z, const complex<_Tp>& __w); 26 template<class _Tp> complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y); 29 class complex 38 complex(const value_type& __re = value_type(), const value_type& __im = value_type()) 41 complex(const complex<_Xp>& __c) 54 complex& operator= (const value_type& __re) 56 complex& operator+=(const value_type& __re) {__re_ += __re; return *this;} 57 complex& operator-=(const value_type& __re) {__re_ -= __re; return *this;} [all …]
|
| /external/pytorch/c10/test/util/ |
| D | complex_test_common.h | 2 #include <c10/util/complex.h> 21 static_assert(sizeof(c10::complex<float>) == 2 * sizeof(float), ""); in test_size() 22 static_assert(sizeof(c10::complex<double>) == 2 * sizeof(double), ""); in test_size() 26 static_assert(alignof(c10::complex<float>) == 2 * sizeof(float), ""); in test_align() 27 static_assert(alignof(c10::complex<double>) == 2 * sizeof(double), ""); in test_align() 31 static_assert(std::is_standard_layout<c10::complex<float>>::value, ""); in test_pod() 32 static_assert(std::is_standard_layout<c10::complex<double>>::value, ""); in test_pod() 37 std::complex<float> z(1, 2); in TEST() 38 c10::complex<float> zz = *reinterpret_cast<c10::complex<float>*>(&z); in TEST() 44 c10::complex<float> z(3, 4); in TEST() [all …]
|
| D | complex_math_test_common.h | 4 #include <c10/util/complex.h> 20 c10::complex<float> e_i_pi = std::exp(c10::complex<float>(0, float(PI))); in C10_DEFINE_TEST() 25 c10::complex<float> e_i_pi = ::exp(c10::complex<float>(0, float(PI))); in C10_DEFINE_TEST() 30 c10::complex<double> e_i_pi = std::exp(c10::complex<double>(0, PI)); in C10_DEFINE_TEST() 35 c10::complex<double> e_i_pi = ::exp(c10::complex<double>(0, PI)); in C10_DEFINE_TEST() 44 c10::complex<float> x(0.1, 1.2); in C10_DEFINE_TEST() 45 c10::complex<float> e = std::exp(x); in C10_DEFINE_TEST() 52 c10::complex<float> x(0.1, 1.2); in C10_DEFINE_TEST() 53 c10::complex<float> e = ::exp(x); in C10_DEFINE_TEST() 60 c10::complex<double> x(0.1, 1.2); in C10_DEFINE_TEST() [all …]
|
| /external/pytorch/aten/src/ATen/native/cpu/ |
| D | zmath.h | 3 // Complex number math operations that act as no-ops for other dtypes. 4 #include <c10/util/complex.h> 17 inline c10::complex<float> zabs <c10::complex<float>> (c10::complex<float> z) { 18 return c10::complex<float>(std::abs(z)); 22 inline float zabs <c10::complex<float>, float> (c10::complex<float> z) { 27 inline c10::complex<double> zabs <c10::complex<double>> (c10::complex<double> z) { 28 return c10::complex<double>(std::abs(z)); 32 inline double zabs <c10::complex<double>, double> (c10::complex<double> z) { 36 // This overload corresponds to non-complex dtypes. 38 // for non-complex dtypes where `pi` is returned for [all …]
|
| /external/eigen/Eigen/src/Core/arch/CUDA/ |
| D | Complex.h | 15 // Many std::complex methods such as operator+, operator-, operator* and 19 // operators and functors for complex types when building for CUDA to enable 24 // ICC already specializes std::complex<float> and std::complex<double> 28 // To allow std::complex operator use on device, define _OVERRIDE_COMPLEX_SPECIALIZATION_ 29 // prior to first inclusion of <complex>. This prevents ICC from adding 48 // Specialized std::complex overloads. 53 std::complex<T> complex_multiply(const std::complex<T>& a, const std::complex<T>& b) { in complex_multiply() 58 return std::complex<T>( in complex_multiply() 65 std::complex<T> complex_divide_fast(const std::complex<T>& a, const std::complex<T>& b) { in complex_divide_fast() 71 return std::complex<T>((a_real * b_real + a_imag * b_imag) / norm, in complex_divide_fast() [all …]
|
| /external/python/cpython3/Lib/test/ |
| D | test_complex.py | 15 # These tests ensure that complex math does the right thing 37 class ComplexSubclass(complex): 49 if isinstance(a, complex): 50 if isinstance(b, complex): 57 if isinstance(b, complex): 81 """Compute complex z=x*y, and check that z/x==y and z/y==x.""" 96 simple_complex = [complex(x, y) for x in simple_real for y in simple_real] 101 # A naive complex division algorithm (such as in 2.0) is very prone to 103 self.check_div(complex(1e200, 1e200), 1+0j) 104 self.check_div(complex(1e-200, 1e-200), 1+0j) [all …]
|
| /external/fonttools/Lib/fontTools/cu2qu/ |
| D | cu2qu.py | 43 @cython.locals(v1=cython.complex, v2=cython.complex) 48 v1 (complex): First vector. 49 v2 (complex): Second vector. 59 @cython.locals(a=cython.complex, b=cython.complex, c=cython.complex, d=cython.complex) 61 _1=cython.complex, _2=cython.complex, _3=cython.complex, _4=cython.complex 74 p0=cython.complex, p1=cython.complex, p2=cython.complex, p3=cython.complex 76 @cython.locals(a=cython.complex, b=cython.complex, c=cython.complex, d=cython.complex) 88 p0=cython.complex, p1=cython.complex, p2=cython.complex, p3=cython.complex 97 p0 (complex): Start point of curve. 98 p1 (complex): First handle of curve. [all …]
|
| /external/tensorflow/tensorflow/compiler/tests/ |
| D | complex_div_test.py | 15 """Test cases for complex numbers division.""" 32 """Test cases for complex numbers division operators.""" 52 complex(1, 1), 53 complex(1, np.inf), 54 complex(1, np.nan), 55 complex(np.inf, 1), 56 complex(np.inf, np.inf), 57 complex(np.inf, np.nan), 58 complex(np.nan, 1), 59 complex(np.nan, np.inf), [all …]
|
| /external/pytorch/aten/src/ATen/cpu/vec/vec256/ |
| D | vec256_complex_double.h | 6 #include <c10/util/complex.h> 22 template <> class Vectorized<c10::complex<double>> { 26 using value_type = c10::complex<double>; 33 Vectorized(c10::complex<double> val) { in Vectorized() 39 Vectorized(c10::complex<double> val1, c10::complex<double> val2) { in Vectorized() 47 …static Vectorized<c10::complex<double>> blend(const Vectorized<c10::complex<double>>& a, const Vec… in blend() 48 // convert c10::complex<V> index mask to V index mask: xy -> xxyy in blend() 61 …static Vectorized<c10::complex<double>> blendv(const Vectorized<c10::complex<double>>& a, const Ve… in blendv() 62 const Vectorized<c10::complex<double>>& mask) { in blendv() 63 // convert c10::complex<V> index mask to V index mask: xy -> xxyy in blendv() [all …]
|
| D | vec256_complex_float.h | 6 #include <c10/util/complex.h> 21 template <> class Vectorized<c10::complex<float>> { 25 using value_type = c10::complex<float>; 32 Vectorized(c10::complex<float> val) { in Vectorized() 41 …Vectorized(c10::complex<float> val1, c10::complex<float> val2, c10::complex<float> val3, c10::comp… in Vectorized() 52 …static Vectorized<c10::complex<float>> blend(const Vectorized<c10::complex<float>>& a, const Vecto… in blend() 53 // convert c10::complex<V> index mask to V index mask: xy -> xxyy in blend() 90 …static Vectorized<c10::complex<float>> blendv(const Vectorized<c10::complex<float>>& a, const Vect… in blendv() 91 const Vectorized<c10::complex<float>>& mask) { in blendv() 92 // convert c10::complex<V> index mask to V index mask: xy -> xxyy in blendv() [all …]
|
| /external/rust/android-crates-io/crates/num-complex/ |
| D | RELEASES.md | 5 - [Add `c32` and `c64` functions to help construct `Complex` values][126] 9 [121]: https://github.com/rust-num/num-complex/pull/121 10 [125]: https://github.com/rust-num/num-complex/pull/125 11 [126]: https://github.com/rust-num/num-complex/pull/126 15 - [Relaxed `T` bounds on `serde::Deserialize` for `Complex<T>`.][119] 19 [119]: https://github.com/rust-num/num-complex/pull/119 27 [116]: https://github.com/rust-num/num-complex/pull/116 31 - [`Complex` now optionally supports `bytecheck` 0.6 and `rkyv` 0.7][110]. 35 [110]: https://github.com/rust-num/num-complex/pull/110 40 floating-point `T` and `Complex<T>`. [all …]
|