per page, with , order by , clip by
Results of 1 - 10 of about 42 for imag (0.003 sec.)
複素数オブジェクト — Python 3.14.8 ドキュメント 12805
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 複素数オブジェクト テーマ 自動 ライト ダーク | 複素数オブジェクト ¶ Python's complex ... ng with complex number objects use structures of this type as input or output values, as appropriate. double real ¶ double imag ¶ The structure is defined as: typedef struct { double real ; double imag ; } Py_complex ; Py_complex _Py_c_sum ( Py_compl ... a C Py_complex value. Return NULL with an exception set on error. PyObject * PyComplex_FromDoubles ( double real , double imag ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Return a new PyComplexObject object from real and imag . Return NULL w ... should call PyErr_Occurred() to check for errors. バージョン 3.13 で変更: Use __complex__() if available. double PyComplex_ImagAsDouble ( PyObject * op ) ¶ 次に属します: Stable ABI . op の虚数部分を C の double 型で返します。 If op is not a Python co ...
https://man.mtool.work/python/3.14/c-api/complex.html
複素数オブジェクト — Python 3.14.8 ドキュメント 11519
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 複素数オブジェクト テーマ 自動 ライト ダーク | 複素数オブジェクト ¶ Python's complex ... ng with complex number objects use structures of this type as input or output values, as appropriate. double real ¶ double imag ¶ The structure is defined as: typedef struct { double real ; double imag ; } Py_complex ; Py_complex _Py_c_sum ( Py_compl ... a C Py_complex value. Return NULL with an exception set on error. PyObject * PyComplex_FromDoubles ( double real , double imag ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Return a new PyComplexObject object from real and imag . Return NULL w ... should call PyErr_Occurred() to check for errors. バージョン 3.13 で変更: Use __complex__() if available. double PyComplex_ImagAsDouble ( PyObject * op ) ¶ 次に属します: Stable ABI . op の虚数部分を C の double 型で返します。 If op is not a Python co ...
https://man.mtool.work/python/3.14/c-api/complex.html
json --- JSON エンコーダーとデコーダー — Python 3.14.8 ドキュメント 10234
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » json --- JSON エンコーダーとデコーダー テーマ 自動 ライト ダーク | json --- JSON エンコーダーとデコ ... > def custom_json ( obj ): ... if isinstance ( obj , complex ): ... return { '__complex__' : True , 'real' : obj . real , 'imag' : obj . imag } ... raise TypeError ( f 'Cannot serialize object of { type ( obj ) } ' ) ... >>> json . dumps ( 1 + 2 j , ... default = custom_json ) '{"__complex__": true, "real": 1.0, "imag": 2.0}' JSON のデコーディング: >>> import json >>> json . loads ( '["foo", {"bar":["baz", null, 1.0, 2]}]' ) ['foo', {'bar ... する: >>> import json >>> def as_complex ( dct ): ... if '__complex__' in dct : ... return complex ( dct [ 'real' ], dct [ 'imag' ]) ... return dct ... >>> json . loads ( '{"__complex__": true, "real": 1, "imag": 2}' , ... object_hook = as_complex ) ( ...
https://man.mtool.work/python/3.14/library/json.html
cmath --- 複素数用の数学関数 — Python 3.14.8 ドキュメント 10018
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » cmath --- 複素数用の数学関数 テーマ 自動 ライト ダーク | cmath --- 複素数用の数学関数 ¶ このモジュールは、複 ... one side of the branch cut from the other: for a branch cut along (a portion of) the real axis we look at the sign of the imaginary part, while for a branch cut along the imaginary axis we look at the sign of the real part. For example, the cmath.sq ... e real axis. An argument of -2-0j is treated as though it lies below the branch cut, and so gives a result on the negative imaginary axis: >>> cmath . sqrt ( - 2 - 0 j ) -1.4142135623730951j But an argument of -2+0j is treated as though it lies above ... and b are close to each other 定数 pi π = 3.141592... e e = 2.718281... tau τ = 2 π = 6.283185... inf 正の無限大 infj Pure imaginary infinity nan 非数 "Not a number" (NaN) nanj Pure imaginary NaN 極座標変換 ¶ A Python complex number z is stored inter ...
https://man.mtool.work/python/3.14/library/cmath.html
cmath --- 複素数用の数学関数 — Python 3.14.8 ドキュメント 10018
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » cmath --- 複素数用の数学関数 テーマ 自動 ライト ダーク | cmath --- 複素数用の数学関数 ¶ このモジュールは、複 ... one side of the branch cut from the other: for a branch cut along (a portion of) the real axis we look at the sign of the imaginary part, while for a branch cut along the imaginary axis we look at the sign of the real part. For example, the cmath.sq ... e real axis. An argument of -2-0j is treated as though it lies below the branch cut, and so gives a result on the negative imaginary axis: >>> cmath . sqrt ( - 2 - 0 j ) -1.4142135623730951j But an argument of -2+0j is treated as though it lies above ... and b are close to each other 定数 pi π = 3.141592... e e = 2.718281... tau τ = 2 π = 6.283185... inf 正の無限大 infj Pure imaginary infinity nan 非数 "Not a number" (NaN) nanj Pure imaginary NaN 極座標変換 ¶ A Python complex number z is stored inter ...
https://man.mtool.work/python/3.14/library/cmath.html
json --- JSON エンコーダーとデコーダー — Python 3.14.8 ドキュメント 9801
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » json --- JSON エンコーダーとデコーダー テーマ 自動 ライト ダーク | json --- JSON エンコーダーとデコ ... > def custom_json ( obj ): ... if isinstance ( obj , complex ): ... return { '__complex__' : True , 'real' : obj . real , 'imag' : obj . imag } ... raise TypeError ( f 'Cannot serialize object of { type ( obj ) } ' ) ... >>> json . dumps ( 1 + 2 j , ... default = custom_json ) '{"__complex__": true, "real": 1.0, "imag": 2.0}' JSON のデコーディング: >>> import json >>> json . loads ( '["foo", {"bar":["baz", null, 1.0, 2]}]' ) ['foo', {'bar ... する: >>> import json >>> def as_complex ( dct ): ... if '__complex__' in dct : ... return complex ( dct [ 'real' ], dct [ 'imag' ]) ... return dct ... >>> json . loads ( '{"__complex__": true, "real": 1, "imag": 2}' , ... object_hook = as_complex ) ( ...
https://man.mtool.work/python/3.14/library/json.html
numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 9584
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li ... のサブクラスは複素数を表し、組み込みの complex 型を受け付ける演算を含みます。それらは: complex および bool への変換、 real , imag , + , - , * , / , ** , abs() , conjugate() , == , != です。 - と != 以外の全てのものは抽象メソッドや抽象プロパティです。 r ... eal ¶ 抽象プロパティ。この数の実部を取り出します。 imag ¶ 抽象プロパティ。この数の虚部を取り出します。 abstractmethod conjugate ( ) ¶ 抽象プロパティ。複素共役を返します。たとえば ... () , round() , math.floor() , math.ceil() , divmod() , // , % , < , <= , > および >= です。 Real はまた complex() , real , imag および conjugate() のデフォルトを提供します。 class numbers. Rational ¶ Real をサブタイプ化し numerator と denominator のプ ...
https://man.mtool.work/python/3.14/library/numbers.html
numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 9584
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li ... のサブクラスは複素数を表し、組み込みの complex 型を受け付ける演算を含みます。それらは: complex および bool への変換、 real , imag , + , - , * , / , ** , abs() , conjugate() , == , != です。 - と != 以外の全てのものは抽象メソッドや抽象プロパティです。 r ... eal ¶ 抽象プロパティ。この数の実部を取り出します。 imag ¶ 抽象プロパティ。この数の虚部を取り出します。 abstractmethod conjugate ( ) ¶ 抽象プロパティ。複素共役を返します。たとえば ... () , round() , math.floor() , math.ceil() , divmod() , // , % , < , <= , > および >= です。 Real はまた complex() , real , imag および conjugate() のデフォルトを提供します。 class numbers. Rational ¶ Real をサブタイプ化し numerator と denominator のプ ...
https://man.mtool.work/python/3.14/library/numbers.html
PyHash API — Python 3.14.8 ドキュメント 9166
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » PyHash API テーマ 自動 ライト ダーク | PyHash API ¶ PyTypeObject.tp_hash メンバや 数値型のハッシュ化 も参照してく ... value returned for a positive infinity. This corresponds to the sys.hash_info.inf constant. Added in version 3.13. PyHASH_IMAG ¶ The multiplier used for the imaginary part of a complex number. This corresponds to the sys.hash_info.imag constant. Add ...
https://man.mtool.work/python/3.14/c-api/hash.html
PyHash API — Python 3.14.8 ドキュメント 9166
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » PyHash API テーマ 自動 ライト ダーク | PyHash API ¶ PyTypeObject.tp_hash メンバや 数値型のハッシュ化 も参照してく ... value returned for a positive infinity. This corresponds to the sys.hash_info.inf constant. Added in version 3.13. PyHASH_IMAG ¶ The multiplier used for the imaginary part of a complex number. This corresponds to the sys.hash_info.imag constant. Add ...
https://man.mtool.work/python/3.14/c-api/hash.html
PREV 1 2 3 4 5 NEXT