Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 36 for math (0.005 sec.)
9.2. math --- 数学関数 — Python 3.6.5 ドキュメント 16577
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 9. 数値と数学モジュール » 9.2. math --- 数学関数 ¶ このモジュールはいつでも利用できます ... とはできません。複素数に対応する必要があるならば、 cmath モジュールにある同じ名前の関数を使ってください。ほ ... 小数点数になります。 9.2.1. 数論および数表現の関数 ¶ math. ceil ( x ) ¶ x の「天井」 ( x 以上の最小の整数) を ... .__ceil__() が実行され、 Integral 値が返されます。 math. copysign ( x , y ) ¶ x の大きさ (絶対値) で y と同 ...
https://man.plustar.jp/python/library/math.html - [similar]
29.14. fpectl --- 浮動小数点例外の制御 — Python 3.6.5 ドキュメント 10143
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... とがあります。例えば、次を試してください >>> import math >>> math . exp ( 1000 ) inf >>> math . exp ( 1000 ... ) / math . exp ( 1000 ) nan (上の例は多くのプラットホームで ... y zero [ more output from test elided ] >>> import math >>> math . exp ( 1000 ) Traceback (most recent cal ... n>" , line 1 , in <module> FloatingPointError : in math_1 29.14.2. 制限と他に考慮すべきこと ¶ 特定のプロセ ...
https://man.plustar.jp/python/library/fpectl.html - [similar]
9.5. fractions --- 有理数 — Python 3.6.5 ドキュメント 8764
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... で表された有理数を元に戻すのにも使えます: >>> from math import pi , cos >>> Fraction ( cos ( pi / 3 )) Fra ... ) ¶ 最大の int <= self を返します。このメソッドは math.floor() 関数からでもアクセスできます: >>> from mat ... ) ¶ 最小の int >= self を返します。このメソッドは math.ceil() 関数からでもアクセスできます。 __round__ ( ... は 0 を返します。 バージョン 3.5 で非推奨: 代わりに math.gcd() を使用してください。 参考 numbers モジュール ...
https://man.plustar.jp/python/library/fractions.html - [similar]
9.3. cmath --- 複素数のための数学関数 — Python 3.6.5 ドキュメント 8701
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 9. 数値と数学モジュール » 9.3. cmath --- 複素数のための数学関数 ¶ このモジュールは常に利 ... 座標を極座標に変換したりその逆を行うのに使えます。 cmath. phase ( x ) ¶ x の位相 ( x の 偏角 とも呼びます) ... を浮動小数点数で返します。 phase(x) は math.atan2(x.imag, x.real) と同等です。返り値は [-π, π] ... 組み込みの abs() 関数で計算できます。この演算を行う cmath モジュールの関数はありません。 cmath. polar ( x ) ...
https://man.plustar.jp/python/library/cmath.html - [similar]
9.1. numbers --- 数の抽象基底クラス — Python 3.6.5 ドキュメント 8304
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 算を加えます。 簡潔に言うとそれらは: float への変換, math.trunc() , round() , math.floor() , math.ceil() , d ... ピックへ 9. 数値と数学モジュール 次のトピックへ 9.2. math --- 数学関数 ナビゲーション 索引 モジュール | 次へ ...
https://man.plustar.jp/python/library/numbers.html - [similar]
10. 標準ライブラリミニツアー — Python 3.6.5 ドキュメント 8304
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... place ( 'too' , 'two' ) 'tea for two' 10.6. 数学 ¶ math モジュールは、浮動小数点演算のための C 言語ライブラ ... リ関数にアクセスする手段を提供しています: >>> import math >>> math . cos ( math . pi / 4 ) 0.707106781186547 ... 57 >>> math . log ( 1024 , 2 ) 10.0 random モジュールは、乱数に ...
https://man.plustar.jp/python/tutorial/stdlib.html - [similar]
15. 浮動小数点演算、その問題と制限 — Python 3.6.5 ドキュメント 8241
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 制限した10進数表現を得ることができます: >>> format ( math . pi , '.12g' ) # give 12 significant digits '3.14 ... 159265359' >>> format ( math . pi , '.2f' ) # give 2 digits after the point '3. ... 14' >>> repr ( math . pi ) '3.141592653589793' これが、実際のコンピュー ... ルとして、合計処理における精度のロスを緩和してくれる math.fsum() 関数があります。この関数は値を合計値に足し込 ...
https://man.plustar.jp/python/tutorial/floatingpoint.html - [similar]
What's New In Python 3.5 — Python 3.6.5 ドキュメント 8114
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... 2値が互いに近似的に等しいか "近い" ことを調べる関数 math.isclose() 及び cmath.isclose() が追加されました。 ... る、絶対値の大きい方に対する最大の差です: >>> import math >>> a = 5.0 >>> b = 4.99998 >>> math . isclose ( a ... , b , rel_tol = 1e-5 ) True >>> math . isclose ( a , b , rel_tol = 1e-6 ) False 2値を絶 ... 。絶対許容差は非負数でなければなりません: >>> import math >>> a = 5.0 >>> b = 4.99998 >>> math . isclose ( a ...
https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
9. 数値と数学モジュール — Python 3.6.5 ドキュメント 7972
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... モジュールは、数値の型の抽象的な階層を定義します。 math と cmath モジュールは、浮動小数点数と複素数のための ... さらに数のABCを追加する 9.1.2.2. 算術演算の実装 9.2. math --- 数学関数 9.2.1. 数論および数表現の関数 9.2.2. ... .2.5. 双曲線関数 9.2.6. 特殊関数 9.2.7. 定数 9.3. cmath --- 複素数のための数学関数 9.3.1. 極座標変換 9.3.2 ...
https://man.plustar.jp/python/library/numeric.html - [similar]
What's New In Python 3.2 — Python 3.6.5 ドキュメント 7908
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... 現を取ろうとする必要性がなくなりました。 >>> import math >>> repr ( math . pi ) '3.141592653589793' >>> str ... ( math . pi ) '3.141592653589793' (Proposed and implement ... o-2706 , bpo-1777412 , bpo-8013 , and bpo-10827 .) mathmath モジュールがアップデートされ、C99 標準に触発 ... r numbers and False for Nan or Infinity : >>> from math import isfinite >>> [ isfinite ( x ) for x in ( 12 ...
https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
PREV 1 2 3 4 NEXT