@@ -18,7 +18,7 @@ msgid ""
1818msgstr ""
1919"Project-Id-Version : Python 3.9\n "
2020"Report-Msgid-Bugs-To : \n "
21- "POT-Creation-Date : 2020-05-31 09:25 +0000\n "
21+ "POT-Creation-Date : 2020-10-14 04:21 +0000\n "
2222"PO-Revision-Date : 2017-02-16 23:24+0000\n "
2323"Last-Translator : tomo, 2020\n "
2424"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -448,11 +448,11 @@ msgid ""
448448" the sample is reproducible."
449449msgstr ""
450450
451- #: ../../library/random.rst:257
451+ #: ../../library/random.rst:259
452452msgid "Real-valued distributions"
453453msgstr "実数分布"
454454
455- #: ../../library/random.rst:259
455+ #: ../../library/random.rst:261
456456msgid ""
457457"The following functions generate specific real-valued distributions. "
458458"Function parameters are named after the corresponding variables in the "
@@ -462,26 +462,26 @@ msgstr ""
462462"以下の関数は特定の実数値分布を生成します。関数の引数の名前は、一般的な数学の慣例で使われている分布の公式の対応する変数から取られています; "
463463"これらの公式のほとんどはどんな統計学のテキストにも載っています。"
464464
465- #: ../../library/random.rst:267
465+ #: ../../library/random.rst:269
466466msgid "Return the next random floating point number in the range [0.0, 1.0)."
467467msgstr "次のランダムな浮動小数点数(範囲は [0.0, 1.0) )を返します。"
468468
469- #: ../../library/random.rst:272
469+ #: ../../library/random.rst:274
470470msgid ""
471471"Return a random floating point number *N* such that ``a <= N <= b`` for ``a "
472472"<= b`` and ``b <= N <= a`` for ``b < a``."
473473msgstr ""
474474"``a <= b`` であれば ``a <= N <= b`` 、``b < a`` であれば ``b <= N <= a`` "
475475"であるようなランダムな浮動小数点数 *N* を返します。"
476476
477- #: ../../library/random.rst:275
477+ #: ../../library/random.rst:277
478478msgid ""
479479"The end-point value ``b`` may or may not be included in the range depending "
480480"on floating-point rounding in the equation ``a + (b-a) * random()``."
481481msgstr ""
482482"端点の値 ``b`` が範囲に含まれるかどうかは、等式 ``a + (b-a) * random()`` における浮動小数点の丸めに依存します。"
483483
484- #: ../../library/random.rst:281
484+ #: ../../library/random.rst:283
485485msgid ""
486486"Return a random floating point number *N* such that ``low <= N <= high`` and"
487487" with the specified *mode* between those bounds. The *low* and *high* "
@@ -492,14 +492,14 @@ msgstr ""
492492"を返します。境界 *low* と *high* のデフォルトは 0 と 1 です。最頻値 *mode* "
493493"引数のデフォルトは両境界値の中点になり、対称な分布を与えます。"
494494
495- #: ../../library/random.rst:289
495+ #: ../../library/random.rst:291
496496msgid ""
497497"Beta distribution. Conditions on the parameters are ``alpha > 0`` and "
498498"``beta > 0``. Returned values range between 0 and 1."
499499msgstr ""
500500"ベータ分布です。引数の満たすべき条件は ``alpha > 0`` および ``beta > 0`` です。 0 から 1 の範囲の値を返します。"
501501
502- #: ../../library/random.rst:295
502+ #: ../../library/random.rst:297
503503msgid ""
504504"Exponential distribution. *lambd* is 1.0 divided by the desired mean. It "
505505"should be nonzero. (The parameter would be called \" lambda\" , but that is a"
@@ -510,18 +510,18 @@ msgstr ""
510510"指数分布です。*lambd* は平均にしたい値の逆数です。(この引数は \" lambda\" と呼ぶべきなのですが、Python "
511511"の予約語なので使えません。) 返す値の範囲は *lambd* が正なら 0 から正の無限大、*lambd* が負なら負の無限大から 0 です。"
512512
513- #: ../../library/random.rst:304
513+ #: ../../library/random.rst:306
514514msgid ""
515515"Gamma distribution. (*Not* the gamma function!) Conditions on the "
516516"parameters are ``alpha > 0`` and ``beta > 0``."
517517msgstr ""
518518"ガンマ分布です (ガンマ関数 *ではありません* !)。引数の満たすべき条件は ``alpha > 0`` および ``beta > 0`` です。"
519519
520- #: ../../library/random.rst:307
520+ #: ../../library/random.rst:309
521521msgid "The probability distribution function is::"
522522msgstr "確率分布関数は::"
523523
524- #: ../../library/random.rst:316
524+ #: ../../library/random.rst:318
525525msgid ""
526526"Gaussian distribution. *mu* is the mean, and *sigma* is the standard "
527527"deviation. This is slightly faster than the :func:`normalvariate` function "
@@ -530,7 +530,7 @@ msgstr ""
530530"ガウス分布です。 *mu* は平均であり、 *sigma* は標準偏差です。この関数は後で定義する関数 :func:`normalvariate` "
531531"より少しだけ高速です。"
532532
533- #: ../../library/random.rst:323
533+ #: ../../library/random.rst:325
534534msgid ""
535535"Log normal distribution. If you take the natural logarithm of this "
536536"distribution, you'll get a normal distribution with mean *mu* and standard "
@@ -540,13 +540,13 @@ msgstr ""
540540"対数正規分布です。この分布を自然対数を用いた分布にした場合、平均 *mu* で標準偏差 *sigma* の正規分布になります。 *mu* "
541541"は任意の値を取ることができ、*sigma* はゼロより大きくなければなりません。"
542542
543- #: ../../library/random.rst:331
543+ #: ../../library/random.rst:333
544544msgid ""
545545"Normal distribution. *mu* is the mean, and *sigma* is the standard "
546546"deviation."
547547msgstr "正規分布です。 *mu* は平均で、 *sigma* は標準偏差です。"
548548
549- #: ../../library/random.rst:336
549+ #: ../../library/random.rst:338
550550msgid ""
551551"*mu* is the mean angle, expressed in radians between 0 and 2\\ *\\ *pi*, and "
552552"*kappa* is the concentration parameter, which must be greater than or equal "
@@ -557,34 +557,34 @@ msgstr ""
557557"は濃度パラメータで、ゼロ以上でなければなりません。*kappa* がゼロに等しい場合、この分布は範囲 0 から 2\\ *\\ *pi* "
558558"の一様でランダムな角度の分布に退化します。"
559559
560- #: ../../library/random.rst:344
560+ #: ../../library/random.rst:346
561561msgid "Pareto distribution. *alpha* is the shape parameter."
562562msgstr "パレート分布です。 *alpha* は形状パラメータです。"
563563
564- #: ../../library/random.rst:349
564+ #: ../../library/random.rst:351
565565msgid ""
566566"Weibull distribution. *alpha* is the scale parameter and *beta* is the "
567567"shape parameter."
568568msgstr "ワイブル分布です。 *alpha* は尺度パラメタで、 *beta* は形状パラメータです。"
569569
570- #: ../../library/random.rst:354
570+ #: ../../library/random.rst:356
571571msgid "Alternative Generator"
572572msgstr "他の生成器"
573573
574- #: ../../library/random.rst:358
574+ #: ../../library/random.rst:360
575575msgid ""
576576"Class that implements the default pseudo-random number generator used by the"
577577" :mod:`random` module."
578578msgstr "デフォルトの疑似乱数生成器を :mod:`random` を使って実装したクラスです。"
579579
580- #: ../../library/random.rst:361
580+ #: ../../library/random.rst:363
581581msgid ""
582582"In the future, the *seed* must be one of the following types: "
583583":class:`NoneType`, :class:`int`, :class:`float`, :class:`str`, "
584584":class:`bytes`, or :class:`bytearray`."
585585msgstr ""
586586
587- #: ../../library/random.rst:368
587+ #: ../../library/random.rst:370
588588msgid ""
589589"Class that uses the :func:`os.urandom` function for generating random "
590590"numbers from sources provided by the operating system. Not available on all "
@@ -598,60 +598,60 @@ msgstr ""
598598":meth:`seed` メソッドは何の影響も及ぼさず、無視されます。 :meth:`getstate` と :meth:`setstate` "
599599"メソッドが呼び出されると、例外 :exc:`NotImplementedError` が送出されます。"
600600
601- #: ../../library/random.rst:377
601+ #: ../../library/random.rst:379
602602msgid "Notes on Reproducibility"
603603msgstr "再現性について"
604604
605- #: ../../library/random.rst:379
605+ #: ../../library/random.rst:381
606606msgid ""
607607"Sometimes it is useful to be able to reproduce the sequences given by a "
608608"pseudo-random number generator. By re-using a seed value, the same sequence"
609609" should be reproducible from run to run as long as multiple threads are not "
610610"running."
611611msgstr ""
612612
613- #: ../../library/random.rst:383
613+ #: ../../library/random.rst:385
614614msgid ""
615615"Most of the random module's algorithms and seeding functions are subject to "
616616"change across Python versions, but two aspects are guaranteed not to change:"
617617msgstr ""
618618"random モジュールのアルゴリズムやシード処理関数のほとんどは、Python "
619619"バージョン間で変更される対象となりますが、次の二点は変更されないことが保証されています:"
620620
621- #: ../../library/random.rst:386
621+ #: ../../library/random.rst:388
622622msgid ""
623623"If a new seeding method is added, then a backward compatible seeder will be "
624624"offered."
625625msgstr "新しいシード処理メソッドが追加されたら、後方互換なシード処理器が提供されます。"
626626
627- #: ../../library/random.rst:389
627+ #: ../../library/random.rst:391
628628msgid ""
629629"The generator's :meth:`~Random.random` method will continue to produce the "
630630"same sequence when the compatible seeder is given the same seed."
631631msgstr ""
632632"生成器の :meth:`~Random.random` メソッドは、互換なシード処理器に同じシードが与えられた場合、引き続き同じシーケンスを生成します。"
633633
634- #: ../../library/random.rst:395
635- msgid "Examples and Recipes"
636- msgstr "例とレシピ"
637-
638634#: ../../library/random.rst:397
635+ msgid "Examples"
636+ msgstr "使用例"
637+
638+ #: ../../library/random.rst:399
639639msgid "Basic examples::"
640640msgstr "基礎的な例::"
641641
642- #: ../../library/random.rst:425
642+ #: ../../library/random.rst:427
643643msgid "Simulations::"
644644msgstr "シミュレーション::"
645645
646- #: ../../library/random.rst:453
646+ #: ../../library/random.rst:455
647647msgid ""
648648"Example of `statistical bootstrapping "
649649"<https://en.wikipedia.org/wiki/Bootstrapping_(statistics)>`_ using "
650650"resampling with replacement to estimate a confidence interval for the mean "
651651"of a sample::"
652652msgstr ""
653653
654- #: ../../library/random.rst:466
654+ #: ../../library/random.rst:468
655655msgid ""
656656"Example of a `resampling permutation test "
657657"<https://en.wikipedia.org/wiki/Resampling_(statistics)#Permutation_tests>`_ "
@@ -664,12 +664,12 @@ msgstr ""
664664"<https://en.wikipedia.org/wiki/Resampling_(statistics)#Permutation_tests>`_ "
665665"を行う例::"
666666
667- #: ../../library/random.rst:493
667+ #: ../../library/random.rst:495
668668msgid ""
669669"Simulation of arrival times and service deliveries for a multiserver queue::"
670670msgstr ""
671671
672- #: ../../library/random.rst:521
672+ #: ../../library/random.rst:523
673673msgid ""
674674"`Statistics for Hackers <https://www.youtube.com/watch?v=Iq9DzN6mvYA>`_ a "
675675"video tutorial by `Jake Vanderplas "
@@ -681,7 +681,7 @@ msgstr ""
681681"`Jake Vanderplas <https://us.pycon.org/2016/speaker/profile/295/>`_ "
682682"による統計解析のビデオ。シミュレーション、サンプリング、シャッフル、交差検定といった基本的な概念のみを用いています。"
683683
684- #: ../../library/random.rst:527
684+ #: ../../library/random.rst:529
685685msgid ""
686686"`Economics Simulation "
687687"<http://nbviewer.jupyter.org/url/norvig.com/ipython/Economics.ipynb>`_ a "
@@ -696,7 +696,7 @@ msgstr ""
696696"による市場価格のシミュレーション。このモジュールが提供する多くのツールや分布 (gauss, uniform, sample, betavariate,"
697697" choice, triangular, randrange) の活用法を示しています。"
698698
699- #: ../../library/random.rst:534
699+ #: ../../library/random.rst:536
700700msgid ""
701701"`A Concrete Introduction to Probability (using Python) "
702702"<http://nbviewer.jupyter.org/url/norvig.com/ipython/Probability.ipynb>`_ a "
@@ -708,3 +708,48 @@ msgstr ""
708708"<http://nbviewer.jupyter.org/url/norvig.com/ipython/Probability.ipynb>`_ "
709709"`Peter Norvig <http://norvig.com/bio.html>`_ "
710710"によるチュートリアル。確率論の基礎、シミュレーションの書き方、Python を使用したデータ解析法をカバーしています。"
711+
712+ #: ../../library/random.rst:544
713+ msgid "Recipes"
714+ msgstr "レシピ"
715+
716+ #: ../../library/random.rst:546
717+ msgid ""
718+ "The default :func:`.random` returns multiples of 2⁻⁵³ in the range *0.0 ≤ x "
719+ "< 1.0*. All such numbers are evenly spaced and are exactly representable as"
720+ " Python floats. However, many floats in that interval are not possible "
721+ "selections. For example, ``0.05954861408025609`` isn't an integer multiple "
722+ "of 2⁻⁵³."
723+ msgstr ""
724+
725+ #: ../../library/random.rst:552
726+ msgid ""
727+ "The following recipe takes a different approach. All floats in the interval"
728+ " are possible selections. The mantissa comes from a uniform distribution of"
729+ " integers in the range *2⁵² ≤ mantissa < 2⁵³*. The exponent comes from a "
730+ "geometric distribution where exponents smaller than *-53* occur half as "
731+ "often as the next larger exponent."
732+ msgstr ""
733+
734+ #: ../../library/random.rst:574
735+ msgid ""
736+ "All :ref:`real valued distributions <real-valued-distributions>` in the "
737+ "class will use the new method::"
738+ msgstr ""
739+
740+ #: ../../library/random.rst:583
741+ msgid ""
742+ "The recipe is conceptually equivalent to an algorithm that chooses from all "
743+ "the multiples of 2⁻¹⁰⁷⁴ in the range *0.0 ≤ x < 1.0*. All such numbers are "
744+ "evenly spaced, but most have to be rounded down to the nearest representable"
745+ " Python float. (The value 2⁻¹⁰⁷⁴ is the smallest positive unnormalized "
746+ "float and is equal to ``math.ulp(0.0)``.)"
747+ msgstr ""
748+
749+ #: ../../library/random.rst:592
750+ msgid ""
751+ "`Generating Pseudo-random Floating-Point Values "
752+ "<https://allendowney.com/research/rand/downey07randfloat.pdf>`_ a paper by "
753+ "Allen B. Downey describing ways to generate more fine-grained floats than "
754+ "normally generated by :func:`.random`."
755+ msgstr ""
0 commit comments