typo
This commit is contained in:
parent
f2e27fd449
commit
3ea1e9e20b
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ We need to "map" all values from the interval 0..1 into values from `min` to `ma
|
||||||
|
|
||||||
That can be done in two stages:
|
That can be done in two stages:
|
||||||
|
|
||||||
1. If we multiply a random number from 0..1 by `max-min`, then it the interval of possible values increases `0..1` to `0..max-min`.
|
1. If we multiply a random number from 0..1 by `max-min`, then the interval of possible values increases `0..1` to `0..max-min`.
|
||||||
2. Now if we add `min`, the possible interval becomes from `min` to `max`.
|
2. Now if we add `min`, the possible interval becomes from `min` to `max`.
|
||||||
|
|
||||||
The function:
|
The function:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue