10000 DOC: clarify method references. · rkern/numpy@251d290 · GitHub
[go: up one dir, main page]

Skip to content

Commit 251d290

Browse files
committed
DOC: clarify method references.
1 parent 2f7c3cd commit 251d290

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/source/reference/random/new-or-different.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Quick comparison of legacy `mtrand <legacy>`_ to the new `Generator`
1919
================== ==================== =============
2020
Feature Older Equivalent Notes
2121
------------------ -------------------- -------------
22-
`Generator` `RandomState` ``Generator`` requires a stream
22+
`~.Generator` `~.RandomState` ``Generator`` requires a stream
2323
source, called a `BitGenerator
2424
<bit_generators>` A number of these
2525
are provided. ``RandomState`` uses
2626
only the Mersenne Twister.
2727
------------------ -------------------- -------------
28-
``Generator.`` ``RandomState.`` Access the values in a BitGenerator,
29-
``random()`` ``random_sample()`` convert them to ``float64`` in the
28+
``random`` ``random_sample`` Access the values in a BitGenerator,
29+
convert them to ``float64`` in the
3030
interval ``[0.0.,`` `` 1.0)``.
3131
In addition to the ``size`` kwarg, now
3232
supports ``dtype='d'`` or ``dtype='f'``,
@@ -36,8 +36,8 @@ Feature Older Equivalent Notes
3636
Many other distributions are also
3737
supported.
3838
------------------ -------------------- -------------
39-
``Generator.`` ``randint``, Use the ``endpoint`` kwarg to adjust
40-
``integers()`` ``random_integers`` the inclusion or exclution of the
39+
``integers`` ``randint``, Use the ``endpoint`` kwarg to adjust
40+
``random_integers`` the inclusion or exclution of the
4141
``high`` interval endpoint
4242
================== ==================== =============
4343

0 commit comments

Comments
 (0)
0