Skip to content

Commit 2a341c5

Browse files
authored
Merge pull request numpy#20708 from ChunkyGrumbler/DocFixes
DOC: fix broken documentation references in mtrand.pyx
2 parents 984a1ac + 1416e5d commit 2a341c5

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

numpy/random/mtrand.pyx

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ cdef class RandomState:
402402
403403
See Also
404404
--------
405-
Generator.random: which should be used for new code.
405+
random.Generator.random: which should be used for new code.
406406
407407
Examples
408408
--------
@@ -476,7 +476,7 @@ cdef class RandomState:
476476
477477
See Also
478478
--------
479-
Generator.beta: which should be used for new code.
479+
random.Generator.beta: which should be used for new code.
480480
"""
481481
return cont(&legacy_beta, &self._aug_state, size, self.lock, 2,
482482
a, 'a', CONS_POSITIVE,
@@ -525,7 +525,7 @@ cdef class RandomState:
525525
526526
See Also
527527
--------
528-
Generator.exponential: which should be used for new code.
528+
random.Generator.exponential: which should be used for new code.
529529
530530
References
531531
----------
@@ -570,7 +570,7 @@ cdef class RandomState:
570570
571571
See Also
572572
--------
573-
Generator.standard_exponential: which should be used for new code.
573+
random.Generator.standard_exponential: which should be used for new code.
574574
575575
Examples
576576
--------
@@ -688,7 +688,7 @@ cdef class RandomState:
688688
random_integers : similar to `randint`, only for the closed
689689
interval [`low`, `high`], and 1 is the lowest value if `high` is
690690
omitted.
691-
Generator.integers: which should be used for new code.
691+
random.Generator.integers: which should be used for new code.
692692
693693
Examples
694694
--------
@@ -790,7 +790,7 @@ cdef class RandomState:
790790
791791
See Also
792792
--------
793-
Generator.bytes: which should be used for new code.
793+
random.Generator.bytes: which should be used for new code.
794794
795795
Examples
796796
--------
@@ -850,7 +850,7 @@ cdef class RandomState:
850850
See Also
851851
--------
852852
randint, shuffle, permutation
853-
Generator.choice: which should be used in new code
853+
random.Generator.choice: which should be used in new code
854854
855855
Notes
856856
-----
@@ -1058,7 +1058,7 @@ cdef class RandomState:
10581058
rand : Convenience function that accepts dimensions as input, e.g.,
10591059
``rand(2,2)`` would generate a 2-by-2 array of floats,
10601060
uniformly distributed over ``[0, 1)``.
1061-
Generator.uniform: which should be used for new code.
1061+
random.Generator.uniform: which should be used for new code.
10621062
10631063
Notes
10641064
-----
@@ -1220,7 +1220,7 @@ cdef class RandomState:
12201220
--------
12211221
standard_normal : Similar, but takes a tuple as its argument.
12221222
normal : Also accepts mu and sigma arguments.
1223-
Generator.standard_normal: which should be used for new code.
1223+
random.Generator.standard_normal: which should be used for new code.
12241224
12251225
Notes
12261226
-----
@@ -1369,7 +1369,7 @@ cdef class RandomState:
13691369
normal :
13701370
Equivalent function with additional ``loc`` and ``scale`` arguments
13711371
for setting the mean and standard deviation.
1372-
Generator.standard_normal: which should be used for new code.
1372+
random.Generator.standard_normal: which should be used for new code.
13731373
13741374
Notes
13751375
-----
@@ -1448,7 +1448,7 @@ cdef class RandomState:
14481448
--------
14491449
scipy.stats.norm : probability density function, distribution or
14501450
cumulative density function, etc.
1451-
Generator.normal: which should be used for new code.
1451+
random.Generator.normal: which should be used for new code.
14521452
14531453
Notes
14541454
-----
@@ -1545,7 +1545,7 @@ cdef class RandomState:
15451545
--------
15461546
scipy.stats.gamma : probability density function, distribution or
15471547
cumulative density function, etc.
1548-
Generator.standard_gamma: which should be used for new code.
1548+
random.Generator.standard_gamma: which should be used for new code.
15491549
15501550
Notes
15511551
-----
@@ -1629,7 +1629,7 @@ cdef class RandomState:
16291629
--------
16301630
scipy.stats.gamma : probability density function, distribution or
16311631
cumulative density function, etc.
1632-
Generator.gamma: which should be used for new code.
1632+
random.Generator.gamma: which should be used for new code.
16331633
16341634
Notes
16351635
-----
@@ -1717,7 +1717,7 @@ cdef class RandomState:
17171717
--------
17181718
scipy.stats.f : probability density function, distribution or
17191719
cumulative density function, etc.
1720-
Generator.f: which should be used for new code.
1720+
random.Generator.f: which should be used for new code.
17211721
17221722
Notes
17231723
-----
@@ -1810,7 +1810,7 @@ cdef class RandomState:
18101810
18111811
See Also
18121812
--------
1813-
Generator.noncentral_f: which should be used for new code.
1813+
random.Generator.noncentral_f: which should be used for new code.
18141814
18151815
Notes
18161816
-----
@@ -1892,7 +1892,7 @@ cdef class RandomState:
18921892
18931893
See Also
18941894
--------
1895-
Generator.chisquare: which should be used for new code.
1895+
random.Generator.chisquare: which should be used for new code.
18961896
18971897
Notes
18981898
-----
@@ -1964,7 +1964,7 @@ cdef class RandomState:
19641964
19651965
See Also
19661966
--------
1967-
Generator.noncentral_chisquare: which should be used for new code.
1967+
random.Generator.noncentral_chisquare: which should be used for new code.
19681968
19691969
Notes
19701970
-----
@@ -2042,7 +2042,7 @@ cdef class RandomState:
20422042
20432043
See Also
20442044
--------
2045-
Generator.standard_cauchy: which should be used for new code.
2045+
random.Generator.standard_cauchy: which should be used for new code.
20462046
20472047
Notes
20482048
-----
@@ -2121,7 +2121,7 @@ cdef class RandomState:
21212121
21222122
See Also
21232123
--------
2124-
Generator.standard_t: which should be used for new code.
2124+
random.Generator.standard_t: which should be used for new code.
21252125
21262126
Notes
21272127
-----
@@ -2242,7 +2242,7 @@ cdef class RandomState:
22422242
--------
22432243
scipy.stats.vonmises : probability density function, distribution, or
22442244
cumulative density function, etc.
2245-
Generator.vonmises: which should be used for new code.
2245+
random.Generator.vonmises: which should be used for new code.
22462246
22472247
Notes
22482248
-----
@@ -2340,7 +2340,7 @@ cdef class RandomState:
23402340
cumulative density function, etc.
23412341
scipy.stats.genpareto : probability density function, distribution or
23422342
cumulative density function, etc.
2343-
Generator.pareto: which should be used for new code.
2343+
random.Generator.pareto: which should be used for new code.
23442344
23452345
Notes
23462346
-----
@@ -2434,7 +2434,7 @@ cdef class RandomState:
24342434
scipy.stats.weibull_min
24352435
scipy.stats.genextreme
24362436
gumbel
2437-
Generator.weibull: which should be used for new code.
2437+
random.Generator.weibull: which should be used for new code.
24382438
24392439
Notes
24402440
-----
@@ -2531,7 +2531,7 @@ cdef class RandomState:
25312531
25322532
See Also
25332533
--------
2534-
Generator.power: which should be used for new code.
2534+
random.Generator.power: which should be used for new code.
25352535
25362536
Notes
25372537
-----
@@ -2640,7 +2640,7 @@ cdef class RandomState:
26402640
26412641
See Also
26422642
--------
2643-
Generator.laplace: which should be used for new code.
2643+
random.Generator.laplace: which should be used for new code.
26442644
26452645
Notes
26462646
-----
@@ -2735,7 +2735,7 @@ cdef class RandomState:
27352735
scipy.stats.gumbel_r
27362736
scipy.stats.genextreme
27372737
weibull
2738-
Generator.gumbel: which should be used for new code.
2738+
random.Generator.gumbel: which should be used for new code.
27392739
27402740
Notes
27412741
-----
@@ -2855,7 +2855,7 @@ cdef class RandomState:
28552855
--------
28562856
scipy.stats.logistic : probability density function, distribution or
28572857
cumulative density function, etc.
2858-
Generator.logistic: which should be used for new code.
2858+
random.Generator.logistic: which should be used for new code.
28592859
28602860
Notes
28612861
-----
@@ -2942,7 +2942,7 @@ cdef class RandomState:
29422942
--------
29432943
scipy.stats.lognorm : probability density function, distribution,
29442944
cumulative density function, etc.
2945-
Generator.lognormal: which should be used for new code.
2945+
random.Generator.lognormal: which should be used for new code.
29462946
29472947
Notes
29482948
-----
@@ -3050,7 +3050,7 @@ cdef class RandomState:
30503050
30513051
See Also
30523052
--------
3053-
Generator.rayleigh: which should be used for new code.
3053+
random.Generator.rayleigh: which should be used for new code.
30543054
30553055
Notes
30563056
-----
@@ -3134,7 +3134,7 @@ cdef class RandomState:
31343134
31353135
See Also
31363136
--------
3137-
Generator.wald: which should be used for new code.
3137+
random.Generator.wald: which should be used for new code.
31383138
31393139
Notes
31403140
-----
@@ -3211,7 +3211,7 @@ cdef class RandomState:
32113211
32123212
See Also
32133213
--------
3214-
Generator.triangular: which should be used for new code.
3214+
random.Generator.triangular: which should be used for new code.
32153215
32163216
Notes
32173217
-----
@@ -3318,7 +3318,7 @@ cdef class RandomState:
33183318
--------
33193319
scipy.stats.binom : probability density function, distribution or
33203320
cumulative density function, etc.
3321-
Generator.binomial: which should be used for new code.
3321+
random.Generator.binomial: which should be used for new code.
33223322
33233323
Notes
33243324
-----
@@ -3466,7 +3466,7 @@ cdef class RandomState:
34663466
34673467
See Also
34683468
--------
3469-
Generator.negative_binomial: which should be used for new code.
3469+
random.Generator.negative_binomial: which should be used for new code.
34703470
34713471
Notes
34723472
-----
@@ -3549,7 +3549,7 @@ cdef class RandomState:
35493549
35503550
See Also
35513551
--------
3552-
Generator.poisson: which should be used for new code.
3552+
random.Generator.poisson: which should be used for new code.
35533553
35543554
Notes
35553555
-----
@@ -3636,7 +3636,7 @@ cdef class RandomState:
36363636
--------
36373637
scipy.stats.zipf : probability density function, distribution, or
36383638
cumulative density function, etc.
3639-
Generator.zipf: which should be used for new code.
3639+
random.Generator.zipf: which should be used for new code.
36403640
36413641
Notes
36423642
-----
@@ -3733,7 +3733,7 @@ cdef class RandomState:
37333733
37343734
See Also
37353735
--------
3736-
Generator.geometric: which should be used for new code.
3736+
random.Generator.geometric: which should be used for new code.
37373737
37383738
Examples
37393739
--------
@@ -3797,7 +3797,7 @@ cdef class RandomState:
37973797
--------
37983798
scipy.stats.hypergeom : probability density function, distribution or
37993799
cumulative density function, etc.
3800-
Generator.hypergeometric: which should be used for new code.
3800+
random.Generator.hypergeometric: which should be used for new code.
38013801
38023802
Notes
38033803
-----
@@ -3920,7 +3920,7 @@ cdef class RandomState:
39203920
--------
39213921
scipy.stats.logser : probability density function, distribution or
39223922
cumulative density function, etc.
3923-
Generator.logseries: which should be used for new code.
3923+
random.Generator.logseries: which should be used for new code.
39243924
39253925
Notes
39263926
-----
@@ -4023,7 +4023,7 @@ cdef class RandomState:
40234023
40244024
See Also
40254025
--------
4026-
Generator.multivariate_normal: which should be used for new code.
4026+
random.Generator.multivariate_normal: which should be used for new code.
40274027
40284028
Notes
40294029
-----
@@ -4216,7 +4216,7 @@ cdef class RandomState:
42164216
42174217
See Also
42184218
--------
4219-
Generator.multinomial: which should be used for new code.
4219+
random.Generator.multinomial: which should be used for new code.
42204220
42214221
Examples
42224222
--------
@@ -4347,7 +4347,7 @@ cdef class RandomState:
43474347
43484348
See Also
43494349
--------
4350-
Generator.dirichlet: which should be used for new code.
4350+
random.Generator.dirichlet: which should be used for new code.
43514351
43524352
Notes
43534353
-----
@@ -4482,7 +4482,7 @@ cdef class RandomState:
44824482
44834483
See Also
44844484
--------
4485-
Generator.shuffle: which should be used for new code.
4485+
random.Generator.shuffle: which should be used for new code.
44864486
44874487
Examples
44884488
--------
@@ -4608,7 +4608,7 @@ cdef class RandomState:
46084608
46094609
See Also
46104610
--------
4611-
Generator.permutation: which should be used for new code.
4611+
random.Generator.permutation: which should be used for new code.
46124612
46134613
Examples
46144614
--------

0 commit comments

Comments
 (0)