Home
last modified time | relevance | path

Searched refs:complex (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/openbsd-src/include/
H A Dcomplex.h33 #define complex _Complex macro
43 double complex cacos(double complex);
44 double complex casin(double complex);
45 double complex catan(double complex);
46 double complex ccos(double complex);
47 double complex csin(double complex);
48 double complex ctan(double complex);
49 double complex cacosh(double complex);
50 double complex casinh(double complex);
51 double complex catanh(double complex);
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/std/
H A Dstd_complex.h56 template<typename _Tp> class complex; variable
57 template<> class complex<float>;
58 template<> class complex<double>;
59 template<> class complex<long double>;
61 template<typename _Tp> _Tp abs(const complex<_Tp>&);
62 template<typename _Tp> _Tp arg(const complex<_Tp>&);
63 template<typename _Tp> _Tp norm(const complex<_Tp>&);
65 template<typename _Tp> complex<_Tp> conj(const complex<_Tp>&);
66 template<typename _Tp> complex<_Tp> polar(const _Tp&, const _Tp& = 0);
69 template<typename _Tp> complex<_Tp> cos(const complex<_Tp>&);
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/std/
H A Dstd_complex.h55 template<typename _Tp> class complex;
56 template<> class complex<float>;
57 template<> class complex<double>;
58 template<> class complex<long double>;
61 template<typename _Tp> _Tp abs(const complex<_Tp>&);
63 template<typename _Tp> _Tp arg(const complex<_Tp>&);
65 template<typename _Tp> _Tp norm(const complex<_Tp>&);
68 template<typename _Tp> complex<_Tp> conj(const complex<_Tp>&);
70 template<typename _Tp> complex<_Tp> polar(const _Tp&, const _Tp& = 0);
74 template<typename _Tp> complex<_Tp> cos(const complex<_Tp>&);
[all …]
/openbsd-src/gnu/llvm/libcxx/include/
H A Dcomplex14 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 …]
/openbsd-src/gnu/llvm/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h34 template <class _Tp> __DEVICE__ _Tp abs(const std::complex<_Tp> &__c) { in abs()
40 template <class _Tp> __DEVICE__ _Tp arg(const std::complex<_Tp> &__c) { in arg()
58 template <class _Tp> __DEVICE__ _Tp norm(const std::complex<_Tp> &__c) { in norm()
68 template <class _Tp> std::complex<_Tp> conj(const std::complex<_Tp> &__c) { in conj()
69 return std::complex<_Tp>(__c.real(), -__c.imag()); in conj()
74 template <class _Tp> std::complex<_Tp> proj(const std::complex<_Tp> &__c) { in proj()
75 std::complex<_Tp> __r = __c; in proj()
77 __r = std::complex<_Tp>(INFINITY, copysign(_Tp(0), __c.imag())); in proj()
84 complex<_Tp> polar(const _Tp &__rho, const _Tp &__theta = _Tp()) {
86 return std::complex<_Tp>(_Tp(NAN), _Tp(NAN));
[all …]
H A Dcomplex1 /*===-- complex --- OpenMP complex wrapper for target regions --------- c++ -===
17 // We require std::math functions in the complex builtins below.
35 #include_next <complex>
38 // after including <cmath> above. Since the complex header we use is a
41 // the (hopefully template) functions in the <complex> header with the ones we
43 // arithmetic and calls to non-complex functions, all of which we can then
/openbsd-src/gnu/gcc/libstdc++-v3/include/tr1/
H A Dcomplex1 // TR1 complex -*- C++ -*-
30 /** @file tr1/complex
37 #include "../complex"
46 template<typename _Tp> std::complex<_Tp> acos(const std::complex<_Tp>&);
47 template<typename _Tp> std::complex<_Tp> asin(const std::complex<_Tp>&);
48 template<typename _Tp> std::complex<_Tp> atan(const std::complex<_Tp>&);
50 template<typename _Tp> std::complex<_Tp> acosh(const std::complex<_Tp>&);
51 template<typename _Tp> std::complex<_Tp> asinh(const std::complex<_Tp>&);
52 template<typename _Tp> std::complex<_Tp> atanh(const std::complex<_Tp>&);
53 template<typename _Tp> std::complex<_Tp> fabs(const std::complex<_Tp>&);
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/src/
H A Dcomplex_io.cc36 operator>>(basic_istream<char, char_traits<char> >&, complex<float>&);
41 const complex<float>&);
45 operator>>(basic_istream<char, char_traits<char> >&, complex<double>&);
50 const complex<double>&);
55 complex<long double>&);
60 const complex<long double>&);
66 complex<float>&);
71 const complex<float>&);
76 complex<double>&);
81 const complex<double>&);
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/src/
H A Dcomplex_io.cc36 operator>>(basic_istream<char, char_traits<char> >&, complex<float>&);
41 const complex<float>&);
45 operator>>(basic_istream<char, char_traits<char> >&, complex<double>&);
50 const complex<double>&);
55 complex<long double>&);
60 const complex<long double>&);
66 complex<float>&);
71 const complex<float>&);
76 complex<double>&);
81 const complex<double>&);
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dtiemann2.C7 class complex
11 complex (double r, double i=0) { re = r; im = i; }
12 friend int operator > (const complex& x, const complex &y);
15 int operator >(const complex& x, const complex &y)
24 complex c1 (1, 0); in main()
25 complex c2 (2, 0); in main()
26 complex c3 (2, 3); in main()
27 complex c4 (2, 1); in main()
29 complex m1 = max (c1, c2); in main()
30 complex m2 = max (c3, c4); in main()
H A Dt16.C11 class complex
15 complex (double r, double i=0) { re = r; im = i; }
16 friend int operator > (const complex& x, const complex &y) { return 0; }
22 complex c1 (1, 0); in main()
23 complex c2 (2, 0); in main()
26 complex m1 = max (c1, c2); in main()
/openbsd-src/regress/lib/libm/msun/
H A Dconj_test.c41 static float complex (*libconjf)(float complex) = conjf;
42 static double complex (*libconj)(double complex) = conj;
43 static long double complex (*libconjl)(long double complex) = conjl;
44 static float (*libcrealf)(float complex) = crealf;
45 static double (*libcreal)(double complex) = creal;
46 static long double (*libcreall)(long double complex) = creall;
47 static float (*libcimagf)(float complex) = cimagf;
48 static double (*libcimag)(double complex) = cimag;
49 static long double (*libcimagl)(long double complex) = cimagl;
73 complex float in; in ATF_TC_BODY()
[all …]
H A Dcsqrt_test.c44 static long double complex (*t_csqrt)(long double complex);
46 static long double complex
47 _csqrtf(long double complex d) in _csqrtf()
50 return (csqrtf((float complex)d)); in _csqrtf()
53 static long double complex
54 _csqrt(long double complex d) in _csqrt()
57 return (csqrt((double complex)d)); in _csqrt()
214 long double complex result; in test_overflow()
255 long double complex result; in test_precision()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dctors12.C8 class complex {
14 complex() { re=im=0; magic=MAGIC; } in complex() function
15 complex(double d) { re=d; im=0; magic=MAGIC; } in complex() function
16 complex(double d, double d2) {re=d; im=d2; magic=MAGIC; } in complex() function
17 ~complex() {if(magic!=MAGIC) {std::printf("FAIL\n"); std::exit(1);}} in ~complex()
18 friend std::ostream& operator << (std::ostream& o, const complex& c)
22 int complex::count=0;
26 complex v[6] = {1, complex(1,2), complex(), 2 }; // ARM Sect. 12.6.1 in main()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Ddebug9.C11 template<typename _Tp> class complex; variable
13 template<> class complex<double>
16 complex(double =0.0, double =0.0);
24 complex<double>::complex(double __r, double __i) in complex() function
40 Engine<1, std::complex<double> > e; in main()
H A Dunchanging1.C11 complex<double> *b;
14 inline complex<double>& operator[] (int x);
20 b = new complex<double>[a]; in A()
21 for (int i=0; i<a; i++) b[i] = complex<double>(0.0,0.0); in A()
24 inline complex<double>& A::operator[](int x)
38 (*o)[i] *= complex<double>((*p)[i].real(), (*p)[i].imag()); in foo()
H A Ddefarg4.C4 class complex
7 complex();
12 MLC33( const complex& = complex() );
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dcomplex-3.c1 struct complex struct
7 struct complex cmplx (float, float); argument
9 struct complex
12 struct complex c; in f()
20 struct complex z = f (1.0, 0.0); in main()
/openbsd-src/gnu/llvm/clang/lib/Headers/cuda_wrappers/
H A Dcomplex1 /*===---- complex - CUDA wrapper for <complex> ------------------------------===
27 // Wrapper around <complex> that forces its functions to be __host__
31 // <complex>, so that the pragma below only applies to <complex> itself.
46 // complex functions, rather than calling builtins (which resolve to library
53 // __host__ __device__ void complex<float> sin(const complex<float>& x) {
59 // void __host__ __device__ complex<T> sin(const complex<T>& x) {
60 // return complex<T>(sin(x.real()) * cosh(x.imag()),
82 #include_next <complex>
/openbsd-src/regress/usr.bin/mandoc/tbl/layout/
H A Dcomplex.out_lint1 mandoc: complex.in:9:14: WARNING: skipping vertical bar in tbl layout
2 mandoc: complex.in:9:28: WARNING: skipping vertical bar in tbl layout
3 mandoc: complex.in:11:7: ERROR: ignoring data in spanned tbl cell: h
4 mandoc: complex.in:17:3: WARNING: tbl column starts with span
5 mandoc: complex.in:19:3: ERROR: ignoring data in spanned tbl cell: b
/openbsd-src/gnu/gcc/libstdc++-v3/include/backward/
H A Dcomplex.h34 using std::complex;
35 typedef complex<float> float_complex;
36 typedef complex<double> double_complex;
37 typedef complex<long double> long_double_complex;
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/backward/
H A Dcomplex.h34 using std::complex;
35 typedef complex<float> float_complex;
36 typedef complex<double> double_complex;
37 typedef complex<long double> long_double_complex;
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/Inclusions/
H A DCSymbolMap.inc29 SYMBOL(CMPLX, None, <complex.h>)
30 SYMBOL(CMPLXF, None, <complex.h>)
31 SYMBOL(CMPLXL, None, <complex.h>)
88 SYMBOL(I, None, <complex.h>)
201 SYMBOL(_Complex_I, None, <complex.h>)
205 SYMBOL(_Imaginary_I, None, <complex.h>)
318 SYMBOL(cabs, None, <complex.h>)
319 SYMBOL(cabsf, None, <complex.h>)
320 SYMBOL(cabsl, None, <complex.h>)
321 SYMBOL(cacos, None, <complex.h>)
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D981007-1.c6 } complex; typedef
8 static complex
11 complex ct; in setCom()
17 static complex
/openbsd-src/lib/libm/src/
H A Ds_casinl.c64 long double complex
65 casinl(long double complex z) in casinl()
67 long double complex w; in casinl()
69 static long double complex ca, ct, zz, z2; in casinl()
90 long double complex sum; in casinl()

12345678910>>...26