diff --git a/random/array/bernoulli/coverage.ndjson b/random/array/bernoulli/coverage.ndjson index b6a08512c9..72b35f7baa 100644 --- a/random/array/bernoulli/coverage.ndjson +++ b/random/array/bernoulli/coverage.ndjson @@ -1,3 +1,4 @@ [209,209,100,3,3,100,0,0,100,209,209,100,"0cb1c9609816ed86207fafdd9e57a30a3e946f8d","2024-01-05 15:41:27 -0800"] [209,209,100,3,3,100,0,0,100,209,209,100,"f8b1c4934b89447ba6c67eee167b96efc78cd61f","2024-01-05 16:07:42 -0800"] [209,209,100,3,3,100,0,0,100,209,209,100,"ffed11f964eef17772d0e148bf29feba9b77bea2","2024-01-05 19:52:04 -0800"] +[209,209,100,3,3,100,0,0,100,209,209,100,"afc5695025226656e50d31850ea83c2fbc410f66","2024-01-06 16:28:17 -0800"] diff --git a/random/array/bernoulli/factory.js.html b/random/array/bernoulli/factory.js.html index bb588c1dfd..401c401b33 100644 --- a/random/array/bernoulli/factory.js.html +++ b/random/array/bernoulli/factory.js.html @@ -253,28 +253,28 @@

All files / random * * @name factory * @type {Function} -* @param {Probability} [p] - success probability +* @param {PositiveNumber} [p] - success probability * @param {Options} [options] - function options * @param {PRNG} [options.prng] - pseudorandom number generator which generates uniformly distributed pseudorandom numbers * @param {PRNGSeedMT19937} [options.seed] - pseudorandom number generator seed * @param {PRNGStateMT19937} [options.state] - pseudorandom number generator state * @param {boolean} [options.copy=true] - boolean indicating whether to copy a provided pseudorandom number generator state * @param {string} [options.dtype="float64"] - default data type -* @throws {TypeError} `p` must be a probability +* @throws {TypeError} `p` must be a probability (i.e., a number on the interval [0,1]) * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options * @throws {Error} must provide a valid state * @returns {Function} function for creating arrays * * @example -* var bernoulli = factory( 0.3 ); +* var bernoulli = factory( 0.5 ); * // returns <Function> * * var arr = bernoulli( 10 ); * // returns <Float64Array> * * @example -* var bernoulli = factory( 0.3 ); +* var bernoulli = factory( 0.5 ); * // returns <Function> * * var arr = bernoulli( 10, { @@ -295,7 +295,7 @@

All files / random