Skip to content

Commit 463a074

Browse files
committed
Fix lint errors
1 parent 7f6335d commit 463a074

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

lib/node_modules/@stdlib/random/base/box-muller/lib/randn.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ var factory = require( './factory.js' );
2828
/**
2929
* Generates a standard normally distributed random number.
3030
*
31-
* #### Method
31+
* ## Method
3232
*
33-
* * Given two independent uniformly distributed random variables \\( U_1 \\) and \\( U_2 \\) in the interval \\( [0,1) \\), let
33+
* - Given two independent uniformly distributed random variables \\( U_1 \\) and \\( U_2 \\) in the interval \\( [0,1) \\), let
3434
*
3535
* ``` tex
3636
* \begin{align*}
@@ -41,12 +41,12 @@ var factory = require( './factory.js' );
4141
*
4242
* where \\( Z_1 \\) and \\( Z_2 \\) are independent random variables with a standard normal distribution.
4343
*
44-
* * As two uniform random variates are mapped to two standard normal random variates, one of the random variates is cached and returned upon the following invocation.
44+
* - As two uniform random variates are mapped to two standard normal random variates, one of the random variates is cached and returned upon the following invocation.
4545
*
4646
*
47-
* #### Notes
47+
* ## Notes
4848
*
49-
* * The minimum and maximum pseudorandom numbers which can be generated are dependent on the number of bits an underlying uniform pseudorandom number generator (PRNG) uses. For instance, if a PRNG uses \\( 32 \\) bits, the smallest non-zero number that can be generated is \\( 2^{-32}). When \\( U_1 \\) equals this value and \\( U_2 \\) equals \\( 0 \\),
49+
* - The minimum and maximum pseudorandom numbers which can be generated are dependent on the number of bits an underlying uniform pseudorandom number generator (PRNG) uses. For instance, if a PRNG uses \\( 32 \\) bits, the smallest non-zero number that can be generated is \\( 2^{-32}). When \\( U_1 \\) equals this value and \\( U_2 \\) equals \\( 0 \\),
5050
*
5151
* ``` tex
5252
* r = \sqrt{-2\ln(2^{-32})} \cos(2\pi) \approx 6.66
@@ -61,13 +61,13 @@ var factory = require( './factory.js' );
6161
* <!-- </note> -->
6262
*
6363
*
64-
* #### References
64+
* ## References
6565
*
66-
* * Box, G. E. P., and Mervin E. Muller. 1958. "A Note on the Generation of Random Normal Deviates." *The Annals of Mathematical Statistics* 29 (2). The Institute of Mathematical Statistics: 610–11. doi:[10.1214/aoms/1177706645](http://dx.doi.org/10.1214/aoms/1177706645).
67-
* * Bell, James R. 1968. "Algorithm 334: Normal Random Deviates." *Communications of the ACM* 11 (7). New York, NY, USA: ACM: 498. doi:[10.1145/363397.363547](http://dx.doi.org/10.1145/363397.363547).
68-
* * Knop, R. 1969. "Remark on Algorithm 334 [G5]: Normal Random Deviates." *Communications of the ACM* 12 (5). New York, NY, USA: ACM: 281. doi:[10.1145/362946.362996](http://dx.doi.org/10.1145/362946.362996).
69-
* * Marsaglia, G., and T. A. Bray. 1964. "A Convenient Method for Generating Normal Variables." *SIAM Review* 6 (3). Society for Industrial; Applied Mathematics: 260–64. doi:[10.1137/1006063](http://dx.doi.org/10.1137/1006063).
70-
* * Thomas, David B., Wayne Luk, Philip H.W. Leong, and John D. Villasenor. 2007. "Gaussian Random Number Generators." *ACM Computing Surveys* 39 (4). New York, NY, USA: ACM. doi:[10.1145/1287620.1287622](http://dx.doi.org/10.1145/1287620.1287622).
66+
* - Box, G. E. P., and Mervin E. Muller. 1958. "A Note on the Generation of Random Normal Deviates." _The Annals of Mathematical Statistics_ 29 (2). The Institute of Mathematical Statistics: 610–11. doi:[10.1214/aoms/1177706645](http://dx.doi.org/10.1214/aoms/1177706645).
67+
* - Bell, James R. 1968. "Algorithm 334: Normal Random Deviates." *Communications of the ACM* 11 (7). New York, NY, USA: ACM: 498. doi:[10.1145/363397.363547](http://dx.doi.org/10.1145/363397.363547).
68+
* - Knop, R. 1969. "Remark on Algorithm 334 [G5]: Normal Random Deviates." _Communications of the ACM_ 12 (5). New York, NY, USA: ACM: 281. doi:[10.1145/362946.362996](http://dx.doi.org/10.1145/362946.362996).
69+
* - Marsaglia, G., and T. A. Bray. 1964. "A Convenient Method for Generating Normal Variables." _SIAM Review_ 6 (3). Society for Industrial; Applied Mathematics: 260–64. doi:[10.1137/1006063](http://dx.doi.org/10.1137/1006063).
70+
* - Thomas, David B., Wayne Luk, Philip H.W. Leong, and John D. Villasenor. 2007. "Gaussian Random Number Generators." _ACM Computing Surveys_ 39 (4). New York, NY, USA: ACM. doi:[10.1145/1287620.1287622](http://dx.doi.org/10.1145/1287620.1287622).
7171
*
7272
*
7373
* @name randn

lib/node_modules/@stdlib/random/sample/lib/vose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var floor = require( '@stdlib/math/base/special/floor' );
3030
*
3131
* ## References
3232
*
33-
* - Vose, Michael D. 1991. "A linear algorithm for generating random numbers with a given distribution." *IEEE Transactions on Software Engineering* 17 (9): 972–75. doi:[10.1109/32.92917][@vose:1991].
33+
* - Vose, Michael D. 1991. "A linear algorithm for generating random numbers with a given distribution." _IEEE Transactions on Software Engineering_ 17 (9): 972–75. doi:[10.1109/32.92917][@vose:1991].
3434
*
3535
* [alias-method]: http://keithschwarz.com/darts-dice-coins/
3636
* [@vose:1991]: https://doi.org/10.1109/32.92917

lib/node_modules/@stdlib/regexp/whitespace/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@
134134
*
135135
* @constant
136136
* @type {RegExp}
137-
* @see [whitespace]{@link https://en.wikipedia.org/wiki/Whitespace_character}
138137
* @default /[\u0009\u000A\u000B\u000C\u000D\u0020\u0085\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/
138+
* @see [whitespace]{@link https://en.wikipedia.org/wiki/Whitespace_character}
139139
*/
140140
var RE_WHITESPACE = /[\u0009\u000A\u000B\u000C\u000D\u0020\u0085\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/;
141141

0 commit comments

Comments
 (0)