Datasourceforcryptocurrency / node_modules /pure-rand /lib /distribution /UniformArrayIntDistribution.js
Download node_modules/pure-rand/lib/distribution/UniformArrayIntDistribution.js from Really-amin/Datasourceforcryptocurrency: direct link, hf CLI and curl.
- Browser
- Download file 676 Bytes
-
https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/250b128700538234afd94de5d02f4e054f24823e/node_modules/pure-rand/lib/distribution/UniformArrayIntDistribution.js
- Command line
-
hf download hf://spaces/Really-amin/Datasourceforcryptocurrency@250b128700538234afd94de5d02f4e054f24823e/node_modules/pure-rand/lib/distribution/UniformArrayIntDistribution.js
-
curl -L -o UniformArrayIntDistribution.js https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/250b128700538234afd94de5d02f4e054f24823e/node_modules/pure-rand/lib/distribution/UniformArrayIntDistribution.js
676 Bytes
| ; | |
| exports.__esModule = true; | |
| exports.uniformArrayIntDistribution = void 0; | |
| var UnsafeUniformArrayIntDistribution_1 = require("./UnsafeUniformArrayIntDistribution"); | |
| function uniformArrayIntDistribution(from, to, rng) { | |
| if (rng != null) { | |
| var nextRng = rng.clone(); | |
| return [(0, UnsafeUniformArrayIntDistribution_1.unsafeUniformArrayIntDistribution)(from, to, nextRng), nextRng]; | |
| } | |
| return function (rng) { | |
| var nextRng = rng.clone(); | |
| return [(0, UnsafeUniformArrayIntDistribution_1.unsafeUniformArrayIntDistribution)(from, to, nextRng), nextRng]; | |
| }; | |
| } | |
| exports.uniformArrayIntDistribution = uniformArrayIntDistribution; | |