(suggestion):math.random() : precision for doc, + seed #2664
-
is your random based on the JS random, or do you implement your own algorithm ?
thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
mathjs uses the math.config({ randomSeed: ... }) |
Beta Was this translation helpful? Give feedback.
-
cool ! any idea which RNG this lib is using ? -> in the doc, section random, I suggest to add these crucial info that a lot are seeking for:
thanks ! |
Beta Was this translation helpful? Give feedback.
-
Makes sense to improve the docs. Are you able to create a pull request improving the docs @FabriceNeyret? |
Beta Was this translation helpful? Give feedback.
mathjs uses the
seed-random
library under the hood. You can configure the seed using