Home
last modified time | relevance | path

Searched refs:Py_complex (Results 1 – 25 of 42) sorted by relevance

12

/aosp_15_r20/external/python/cpython3/Modules/clinic/
Dcmathmodule.c.h14 static Py_complex
15 cmath_acos_impl(PyObject *module, Py_complex z);
21 Py_complex z; in cmath_acos()
22 Py_complex _return_value; in cmath_acos()
56 static Py_complex
57 cmath_acosh_impl(PyObject *module, Py_complex z);
63 Py_complex z; in cmath_acosh()
64 Py_complex _return_value; in cmath_acosh()
98 static Py_complex
99 cmath_asin_impl(PyObject *module, Py_complex z);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dcomplexobject.h8 } Py_complex; typedef
12 PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex);
13 PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex);
14 PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex);
15 PyAPI_FUNC(Py_complex) _Py_c_prod(Py_complex, Py_complex);
16 PyAPI_FUNC(Py_complex) _Py_c_quot(Py_complex, Py_complex);
17 PyAPI_FUNC(Py_complex) _Py_c_pow(Py_complex, Py_complex);
18 PyAPI_FUNC(double) _Py_c_abs(Py_complex);
28 Py_complex cval;
31 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dcomplexobject.h8 } Py_complex; typedef
12 PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex);
13 PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex);
14 PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex);
15 PyAPI_FUNC(Py_complex) _Py_c_prod(Py_complex, Py_complex);
16 PyAPI_FUNC(Py_complex) _Py_c_quot(Py_complex, Py_complex);
17 PyAPI_FUNC(Py_complex) _Py_c_pow(Py_complex, Py_complex);
18 PyAPI_FUNC(double) _Py_c_abs(Py_complex);
28 Py_complex cval;
31 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);
[all …]
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dcomplexobject.h8 } Py_complex; typedef
12 PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex);
13 PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex);
14 PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex);
15 PyAPI_FUNC(Py_complex) _Py_c_prod(Py_complex, Py_complex);
16 PyAPI_FUNC(Py_complex) _Py_c_quot(Py_complex, Py_complex);
17 PyAPI_FUNC(Py_complex) _Py_c_pow(Py_complex, Py_complex);
18 PyAPI_FUNC(double) _Py_c_abs(Py_complex);
28 Py_complex cval;
31 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dcomplexobject.h8 } Py_complex; typedef
12 PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex);
13 PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex);
14 PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex);
15 PyAPI_FUNC(Py_complex) _Py_c_prod(Py_complex, Py_complex);
16 PyAPI_FUNC(Py_complex) _Py_c_quot(Py_complex, Py_complex);
17 PyAPI_FUNC(Py_complex) _Py_c_pow(Py_complex, Py_complex);
18 PyAPI_FUNC(double) _Py_c_abs(Py_complex);
28 Py_complex cval;
31 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dcomplexobject.h8 } Py_complex; typedef
12 PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex);
13 PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex);
14 PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex);
15 PyAPI_FUNC(Py_complex) _Py_c_prod(Py_complex, Py_complex);
16 PyAPI_FUNC(Py_complex) _Py_c_quot(Py_complex, Py_complex);
17 PyAPI_FUNC(Py_complex) _Py_c_pow(Py_complex, Py_complex);
18 PyAPI_FUNC(double) _Py_c_abs(Py_complex);
28 Py_complex cval;
31 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);
[all …]
/aosp_15_r20/external/python/cpython2/Include/
Dcomplexobject.h12 } Py_complex; typedef
24 PyAPI_FUNC(Py_complex) c_sum(Py_complex, Py_complex);
25 PyAPI_FUNC(Py_complex) c_diff(Py_complex, Py_complex);
26 PyAPI_FUNC(Py_complex) c_neg(Py_complex);
27 PyAPI_FUNC(Py_complex) c_prod(Py_complex, Py_complex);
28 PyAPI_FUNC(Py_complex) c_quot(Py_complex, Py_complex);
29 PyAPI_FUNC(Py_complex) c_pow(Py_complex, Py_complex);
30 PyAPI_FUNC(double) c_abs(Py_complex);
42 Py_complex cval;
50 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);
[all …]
/aosp_15_r20/external/python/cpython2/Objects/
Dcomplexobject.c31 static Py_complex c_1 = {1., 0.};
33 Py_complex
34 c_sum(Py_complex a, Py_complex b) in c_sum()
36 Py_complex r; in c_sum()
42 Py_complex
43 c_diff(Py_complex a, Py_complex b) in c_diff()
45 Py_complex r; in c_diff()
51 Py_complex
52 c_neg(Py_complex a) in c_neg()
54 Py_complex r; in c_neg()
[all …]
/aosp_15_r20/external/python/cpython3/Objects/
Dcomplexobject.c25 static Py_complex c_1 = {1., 0.};
27 Py_complex
28 _Py_c_sum(Py_complex a, Py_complex b) in _Py_c_sum()
30 Py_complex r; in _Py_c_sum()
36 Py_complex
37 _Py_c_diff(Py_complex a, Py_complex b) in _Py_c_diff()
39 Py_complex r; in _Py_c_diff()
45 Py_complex
46 _Py_c_neg(Py_complex a) in _Py_c_neg()
48 Py_complex r; in _Py_c_neg()
[all …]
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dcomplex.rst24 .. c:type:: Py_complex
34 } Py_complex;
37 .. c:function:: Py_complex _Py_c_sum(Py_complex left, Py_complex right)
39 Return the sum of two complex numbers, using the C :c:type:`Py_complex`
43 .. c:function:: Py_complex _Py_c_diff(Py_complex left, Py_complex right)
46 :c:type:`Py_complex` representation.
49 .. c:function:: Py_complex _Py_c_neg(Py_complex num)
52 :c:type:`Py_complex` representation.
55 .. c:function:: Py_complex _Py_c_prod(Py_complex left, Py_complex right)
57 Return the product of two complex numbers, using the C :c:type:`Py_complex`
[all …]
Darg.rst325 ``D`` (:class:`complex`) [Py_complex]
326 Convert a Python complex number to a C :c:type:`Py_complex` structure.
649 ``D`` (:class:`complex`) [Py_complex \*]
650 Convert a C :c:type:`Py_complex` structure to a Python complex number.
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dcomplex.rst24 .. c:type:: Py_complex
34 } Py_complex;
37 .. c:function:: Py_complex _Py_c_sum(Py_complex left, Py_complex right)
39 Return the sum of two complex numbers, using the C :c:type:`Py_complex`
43 .. c:function:: Py_complex _Py_c_diff(Py_complex left, Py_complex right)
46 :c:type:`Py_complex` representation.
49 .. c:function:: Py_complex _Py_c_neg(Py_complex complex)
52 :c:type:`Py_complex` representation.
55 .. c:function:: Py_complex _Py_c_prod(Py_complex left, Py_complex right)
57 Return the product of two complex numbers, using the C :c:type:`Py_complex`
[all …]
Darg.rst215 ``D`` (complex) [Py_complex]
216 Convert a Python complex number to a C :c:type:`Py_complex` structure.
521 ``D`` (complex) [Py_complex \*]
522 Convert a C :c:type:`Py_complex` structure to a Python complex number.
/aosp_15_r20/external/python/cpython3/Modules/
Dcmathmodule.c107 static Py_complex
110 Py_complex r; in c_infj()
128 static Py_complex
131 Py_complex r; in c_nanj()
140 static Py_complex cmath_asinh_impl(PyObject *, Py_complex);
141 static Py_complex cmath_atanh_impl(PyObject *, Py_complex);
142 static Py_complex cmath_cosh_impl(PyObject *, Py_complex);
143 static Py_complex cmath_sinh_impl(PyObject *, Py_complex);
144 static Py_complex cmath_sqrt_impl(PyObject *, Py_complex);
145 static Py_complex cmath_tanh_impl(PyObject *, Py_complex);
[all …]
D_testclinic.c489 py_complex_converter_impl(PyObject *module, Py_complex a) in py_complex_converter_impl()
492 RETURN_PACKED_ARGS(1, PyComplex_FromCComplex, Py_complex, a); in py_complex_converter_impl()
/aosp_15_r20/external/python/cpython2/Modules/
Dcmathmodule.c51 static Py_complex c_asinh(Py_complex);
52 static Py_complex c_atanh(Py_complex);
53 static Py_complex c_cosh(Py_complex);
54 static Py_complex c_sinh(Py_complex);
55 static Py_complex c_sqrt(Py_complex);
56 static Py_complex c_tanh(Py_complex);
124 static Py_complex acos_special_values[7][7];
126 static Py_complex
127 c_acos(Py_complex z) in c_acos()
129 Py_complex s1, s2, r; in c_acos()
[all …]
/aosp_15_r20/external/python/cpython2/Doc/data/
Drefcounts.dat136 PyComplex_AsCComplex:Py_complex:::
143 PyComplex_FromCComplex::Py_complex v::
1840 _Py_c_diff:Py_complex:::
1841 _Py_c_diff:Py_complex:left::
1842 _Py_c_diff:Py_complex:right::
1844 _Py_c_neg:Py_complex:::
1845 _Py_c_neg:Py_complex:complex::
1847 _Py_c_pow:Py_complex:::
1848 _Py_c_pow:Py_complex:num::
1849 _Py_c_pow:Py_complex:exp::
[all …]
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat342 PyComplex_AsCComplex:Py_complex:::
352 PyComplex_FromCComplex::Py_complex v::
2974 _Py_c_diff:Py_complex:::
2975 _Py_c_diff:Py_complex:left::
2976 _Py_c_diff:Py_complex:right::
2978 _Py_c_neg:Py_complex:::
2979 _Py_c_neg:Py_complex:complex::
2981 _Py_c_pow:Py_complex:::
2982 _Py_c_pow:Py_complex:num::
2983 _Py_c_pow:Py_complex:exp::
[all …]
/aosp_15_r20/external/python/cpython2/Python/
Dmodsupport.c414 *((Py_complex *)va_arg(*p_va, Py_complex *))); in do_mkvalue()
Dgetargs.c831 Py_complex *p = va_arg(*p_va, Py_complex *); in convertsimple()
832 Py_complex cval; in convertsimple()
Dmarshal.c750 Py_complex c; in r_object()
784 Py_complex c; in r_object()
/aosp_15_r20/external/python/cpython3/Python/
Dmodsupport.c379 *((Py_complex *)va_arg(*p_va, Py_complex *))); in do_mkvalue()
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpython_numbers.h161 Py_complex value = PyComplex_AsCComplex(obj); in THPUtils_unpackComplexDouble()
H A Dpython_scalars.h138 *reinterpret_cast<Py_complex*>((c10::complex<double>*)data)); in load_scalar()
H A Dpybind.h341 Py_complex py_complex = PyComplex_AsCComplex(obj);

12