Добавлена ДБ
This commit is contained in:
12
node_modules/pure-rand/lib/esm/distribution/UniformArrayIntDistribution.js
generated
vendored
Normal file
12
node_modules/pure-rand/lib/esm/distribution/UniformArrayIntDistribution.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { unsafeUniformArrayIntDistribution } from './UnsafeUniformArrayIntDistribution.js';
|
||||
function uniformArrayIntDistribution(from, to, rng) {
|
||||
if (rng != null) {
|
||||
var nextRng = rng.clone();
|
||||
return [unsafeUniformArrayIntDistribution(from, to, nextRng), nextRng];
|
||||
}
|
||||
return function (rng) {
|
||||
var nextRng = rng.clone();
|
||||
return [unsafeUniformArrayIntDistribution(from, to, nextRng), nextRng];
|
||||
};
|
||||
}
|
||||
export { uniformArrayIntDistribution };
|
||||
Reference in New Issue
Block a user