Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 36 for math (0.009 sec.)
7. 入力と出力 — Python 3.6.5 ドキュメント 7845
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 点以下3桁で丸めてフォーマットしています。 >>> import math >>> print ( 'The value of PI is approximately {0:. ... 3f} .' . format ( math . pi )) The value of PI is approximately 3.142. ': ... 用し、その結果の文字列を返します。例えば: >>> import math >>> print ( 'The value of PI is approximately %5.3 ... f .' % math . pi ) The value of PI is approximately 3.142. より ...
https://man.plustar.jp/python/tutorial/inputoutput.html - [similar]
4. 組み込み型 — Python 3.6.5 ドキュメント 7781
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 捨てられます; より明確に定義された変換を行う場合は、 math.floor() と math.ceil() を参照してください。 浮動小 ... ( int 、 float ) は以下の演算も含みます: 演算 結果 math.trunc(x) x を Integral (整数) に切り捨てます round ... めです。 n が省略されれば 0 がデフォルトとなります。 math.floor(x) x 以下の最大の Integral (整数) を返します ... math.ceil(x) x 以上の最小の Integral (整数) を返します ...
https://man.plustar.jp/python/library/stdtypes.html - [similar]
17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 7718
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... olExecutor の例 ¶ import concurrent.futures import math PRIMES = [ 112272535095293 , 112582705942171 , 112 ... ( n ): if n % 2 == 0 : return False sqrt_n = int ( math . floor ( math . sqrt ( n ))) for i in range ( 3 , ...
https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
What's New in Python 2.6 — Python 3.6.5 ドキュメント 7718
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... .0 では、その PEP は少し既存のビルトイン round() , math.floor() , math.ceil() を再定義していて、また、Pyth ... on 2.6 にバックポートされている新しい math.trunc() を追加しています。 math.trunc() はゼロに向 ... (Contributed by Christian Heimes; bpo-1635 .) ほか math モジュールに isinf() と isnan() が追加されています ... arning メッセージが報告されます。 ( bpo-600362 ). cmath モジュールに大掛かりな改訂が行われました。Mark Dic ...
https://man.plustar.jp/python/whatsnew/2.6.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 7655
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... e. (Contributed by Victor Stinner in bpo-25357 .) cmath ¶ The new cmath.tau (τ) constant has been added. ( ... PEP 628 for details.) 新たに定数が追加されました。 math.inf と math.nan に対応する cmath.inf と cmath.nan ... 。複素数の repr が使用する書式に対応する cmath.infj と cmath.nanj 。 (Contributed by Mark Dickins ... した。(Contributed by Marian Horban in bpo-24884 .) math ¶ The tau (τ) constant has been added to the math ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
16.15. errno --- 標準の errno システムシンボル — Python 3.6.5 ドキュメント 7591
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... rrno. EDOM ¶ 数学引数が関数の定義域を越えています (Math argument out of domain of func) errno. ERANGE ¶ 表 ... 現できない数学演算結果になりました (Math result not representable) errno. EDEADLK ¶ リソース ...
https://man.plustar.jp/python/library/errno.html - [similar]
5. データ構造 — Python 3.6.5 ドキュメント 7512
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 、複雑な式や関数呼び出しのネストができます: >>> from math import pi >>> [ str ( round ( pi , i )) for i in r ... うがより簡単で安全なことが、ままあります >>> import math >>> raw_data = [ 56.2 , float ( 'NaN' ), 51.7 , 55 ... d_data = [] >>> for value in raw_data : ... if not math . isnan ( value ): ... filtered_data . append ( va ...
https://man.plustar.jp/python/tutorial/datastructures.html - [similar]
What's New in Python 2.3 — Python 3.6.5 ドキュメント 7512
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... 照してください。(Contributed by Raymond Hettinger.) math module の 2 つの新規関数 degrees(rads) と radians( ... degs) は、ラジアンと度の間の変換を行います。 math モジュールの math.sin() や math.cos() などは常にラ ... ジアンでの入力が必要です。 math.log() 関数には底を指定するオプショナルの base 引数 ...
https://man.plustar.jp/python/whatsnew/2.3.html - [similar]
26.3. doctest --- 対話的な実行例をテストする — Python 3.6.5 ドキュメント 7448
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... l last): ... OverflowError: n too large """ import math if not n >= 0 : raise ValueError ( "n must be >= 0 ... " ) if math . floor ( n ) != n : raise ValueError ( "n must be ... どこでもかまいません: >>> assert "Easy!" >>> import math >>> math.floor(1.9) 1 期待する出力結果の先頭部にあ ...
https://man.plustar.jp/python/library/doctest.html - [similar]
9.6. random --- 擬似乱数を生成する — Python 3.6.5 ドキュメント 7448
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ta > 0 です。 確率分布関数は: x ** ( alpha - 1 ) * math . exp ( - x / beta ) pdf ( x ) = ----------------- ... --------------------- math . gamma ( alpha ) * beta ** alpha random. gauss ( ...
https://man.plustar.jp/python/library/random.html - [similar]
PREV 1 2 3 4 NEXT