Results of 1 - 10 of about 46 for phase (0.003 sec.)
- 拡張モジュールの定義 — Python 3.14.8 ドキュメント 12571
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 拡張モジュールの定義 テーマ 自動 ライト ダーク | 拡張モジュールの定義 ¶ A C extension for CPython is a shared library (for exampl
...returns a module definition initialized using PyModuleDef_Init() . This allows splitting the creation process into several phases: Before any substantial code is executed, Python can determine which capabilities the module supports, and it can adjust...odule object is initialized using extension-specific code -- the equivalent of __init__() on classes. This is called multi-phase initialization to distinguish it from the legacy (but still supported) single-phase initialization scheme, where the initi...alization function returns a fully constructed module. See the single-phase-initialization section below for details. バージョン 3.5 で変更: 多段階初期化 ( PEP 489 ) のサポートを追加しました。 複数の... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
- 拡張モジュールの定義 — Python 3.14.8 ドキュメント 12571
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 拡張モジュールの定義 テーマ 自動 ライト ダーク | 拡張モジュールの定義 ¶ A C extension for CPython is a shared library (for exampl
...returns a module definition initialized using PyModuleDef_Init() . This allows splitting the creation process into several phases: Before any substantial code is executed, Python can determine which capabilities the module supports, and it can adjust...odule object is initialized using extension-specific code -- the equivalent of __init__() on classes. This is called multi-phase initialization to distinguish it from the legacy (but still supported) single-phase initialization scheme, where the initi...alization function returns a fully constructed module. See the single-phase-initialization section below for details. バージョン 3.5 で変更: 多段階初期化 ( PEP 489 ) のサポートを追加しました。 複数の... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
- cmath --- 複素数用の数学関数 — Python 3.14.8 ドキュメント 10297
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » cmath --- 複素数用の数学関数 テーマ 自動 ライト ダーク | cmath --- 複素数用の数学関数 ¶ このモジュールは、複
...it lies above the branch cut: >>> cmath . sqrt ( - 2 + 0 j ) 1.4142135623730951j Conversions to and from polar coordinates phase(z) Return the phase of z polar(z) Return the representation of z in polar coordinates rect(r, phi) Return the complex numb...度を反時計回りにラジアンで測った値です。 次の関数はネイティブの直交座標を極座標に変換したりその逆を行うのに使えます。 cmath. phase ( z ) ¶ Return the phase of z (also known as the argument of z ), as a float. phase(z) is equivalent to math.atan2(z.imag,...ies along the negative real axis. The sign of the result is the same as the sign of z.imag , even when z.imag is zero: >>> phase ( - 1 + 0 j ) 3.141592653589793 >>> phase ( - 1 - 0 j ) -3.141592653589793 注釈 The modulus (absolute value) of a complex... - https://man.mtool.work/python/3.14/library/cmath.html
- cmath --- 複素数用の数学関数 — Python 3.14.8 ドキュメント 10297
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » cmath --- 複素数用の数学関数 テーマ 自動 ライト ダーク | cmath --- 複素数用の数学関数 ¶ このモジュールは、複
...it lies above the branch cut: >>> cmath . sqrt ( - 2 + 0 j ) 1.4142135623730951j Conversions to and from polar coordinates phase(z) Return the phase of z polar(z) Return the representation of z in polar coordinates rect(r, phi) Return the complex numb...度を反時計回りにラジアンで測った値です。 次の関数はネイティブの直交座標を極座標に変換したりその逆を行うのに使えます。 cmath. phase ( z ) ¶ Return the phase of z (also known as the argument of z ), as a float. phase(z) is equivalent to math.atan2(z.imag,...ies along the negative real axis. The sign of the result is the same as the sign of z.imag , even when z.imag is zero: >>> phase ( - 1 + 0 j ) 3.141592653589793 >>> phase ( - 1 - 0 j ) -3.141592653589793 注釈 The modulus (absolute value) of a complex... - https://man.mtool.work/python/3.14/library/cmath.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 9824
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release
...to indicate that an extension module supports running with the GIL disabled depending on whether the extension uses multi-phase or single-phase initialization. Multi-Phase Initialization ¶ Extensions that use multi-phase initialization (i.e., PyModul...f { 0 , NULL } }; static struct PyModuleDef moduledef = { PyModuleDef_HEAD_INIT , . m_slots = module_slots , ... }; Single-Phase Initialization ¶ Extensions that use single-phase initialization (i.e., PyModule_Create() ) should call PyUnstable_Module_...ences 目次 C API Extension Support for Free Threading Identifying the Free-Threaded Build in C Module Initialization Multi-Phase Initialization Single-Phase Initialization General API Guidelines Container Thread Safety PyDict_Next Borrowed References... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 9824
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release
...to indicate that an extension module supports running with the GIL disabled depending on whether the extension uses multi-phase or single-phase initialization. Multi-Phase Initialization ¶ Extensions that use multi-phase initialization (i.e., PyModul...f { 0 , NULL } }; static struct PyModuleDef moduledef = { PyModuleDef_HEAD_INIT , . m_slots = module_slots , ... }; Single-Phase Initialization ¶ Extensions that use single-phase initialization (i.e., PyModule_Create() ) should call PyUnstable_Module_...tItem 目次 C API Extension Support for Free Threading Identifying the Free-Threaded Build in C Module Initialization Multi-Phase Initialization Single-Phase Initialization General API Guidelines Container Thread Safety PyDict_Next Borrowed References... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 9351
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...ro). int check_multi_interp_extensions ¶ If this is 0 then all extension modules may be imported, including legacy (single-phase init) modules, in any thread where the sub-interpreter is currently active. Otherwise only multi-phase init extension modu...ly on the PyInterpreterState . Extension modules are shared between (sub-)interpreters as follows: For modules using multi-phase initialization, e.g. PyModule_FromDefAndSpec() , a separate module object is created and initialized for each interpreter....Only C-level static and global variables are shared between these module objects. For modules using legacy single-phase initialization , e.g. PyModule_Create() , the first time a particular extension is imported, it is initialized normally, a... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- モジュールオブジェクト (module object) — Python 3.14.8 ドキュメント 9077
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » モジュールオブジェクト (module object) テーマ 自動 ライト ダーク | モジュールオブジェ
...e does not support sub-interpreters, because it has global state. Negative m_size is only allowed when using legacy single-phase initialization or when creating modules dynamically . 詳細は PEP 3121 を参照。 PyMethodDef * m_methods ¶ A pointer to a ta...odDef values. Can be NULL if no functions are present. PyModuleDef_Slot * m_slots ¶ An array of slot definitions for multi-phase initialization, terminated by a {0, NULL} entry. When using legacy single-phase initialization, m_slots must be NULL . バー...functions may be used to create a module outside of an extension's initialization function . They are also used in single-phase initialization . PyObject * PyModule_Create ( PyModuleDef * def ) ¶ 戻り値: 新しい参照。 Create a new module object, given... - https://man.mtool.work/python/3.14/c-api/module.html
- モジュールオブジェクト (module object) — Python 3.14.8 ドキュメント 9077
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » モジュールオブジェクト (module object) テーマ 自動 ライト ダーク | モジュールオブジェ
...e does not support sub-interpreters, because it has global state. Negative m_size is only allowed when using legacy single-phase initialization or when creating modules dynamically . 詳細は PEP 3121 を参照。 PyMethodDef * m_methods ¶ A pointer to a ta...odDef values. Can be NULL if no functions are present. PyModuleDef_Slot * m_slots ¶ An array of slot definitions for multi-phase initialization, terminated by a {0, NULL} entry. When using legacy single-phase initialization, m_slots must be NULL . バー...functions may be used to create a module outside of an extension's initialization function . They are also used in single-phase initialization . PyObject * PyModule_Create ( PyModuleDef * def ) ¶ 戻り値: 新しい参照。 Create a new module object, given... - https://man.mtool.work/python/3.14/c-api/module.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 8970
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...ro). int check_multi_interp_extensions ¶ If this is 0 then all extension modules may be imported, including legacy (single-phase init) modules, in any thread where the sub-interpreter is currently active. Otherwise only multi-phase init extension modu...ly on the PyInterpreterState . Extension modules are shared between (sub-)interpreters as follows: For modules using multi-phase initialization, e.g. PyModule_FromDefAndSpec() , a separate module object is created and initialized for each interpreter....Only C-level static and global variables are shared between these module objects. For modules using legacy single-phase initialization , e.g. PyModule_Create() , the first time a particular extension is imported, it is initialized normally, a... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html