You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/random/streams/arcsine/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -254,26 +254,26 @@ var opts = {
254
254
'highWaterMark':64
255
255
};
256
256
257
-
varfactory=randomStream.factory( opts );
257
+
varcreateStream=randomStream.factory( opts );
258
258
```
259
259
260
260
If provided `a` and `b`, the returned function returns [readable streams][readable-stream] which generate pseudorandom numbers drawn from the specified distribution.
261
261
262
262
```javascript
263
-
varfactory=randomStream.factory( 2.0, 5.0 );
263
+
varcreateStream=randomStream.factory( 2.0, 5.0 );
264
264
265
-
var stream1 =factory();
266
-
var stream2 =factory();
265
+
var stream1 =createStream();
266
+
var stream2 =createStream();
267
267
// ...
268
268
```
269
269
270
270
If not provided `a` and `b`, the returned function requires that distribution parameters be provided at each invocation.
0 commit comments