Commit 8bd1604
committed
docs: update example in
Migrate the example pseudorandom source from `@stdlib/random/iter/randu`
to `@stdlib/random/iter/uniform( 0.0, 2.0, ... )`, sampling across one
full period of `sin(πx)` rather than `[0, 1)`. The `uniform`-based
pattern is used by 88 of 97 (90.7%) sibling packages in
`math/iter/special`; the `(0.0, 2.0)` interval matches the period-2
cluster (`acovercos`, `acoversin`, `aversin`).
https://claude.ai/code/session_01CqGYLHLpXrp7baqtrMoRgxmath/iter/special/sinpi to use iter/uniform
1 parent aa5e182 commit 8bd1604
2 files changed
Lines changed: 4 additions & 4 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments