@@ -22,22 +22,22 @@ import {
22
22
export const randf : {
23
23
/**
24
24
* Sets the private seed of the thread.
25
- * @param seed seed value to set. For the best results, should be in [0, 1 ] range.
25
+ * @param seed seed value to set. For the best results, should be in [-1000, 1000 ] range.
26
26
*/
27
27
seed : typeof randSeed ;
28
28
/**
29
29
* Sets the private seed of the thread.
30
- * @param seed seed value to set. For the best results, all elements should be in [0, 1 ] range.
30
+ * @param seed seed value to set. For the best results, all elements should be in [-1000, 1000 ] range.
31
31
*/
32
32
seed2 : typeof randSeed2 ;
33
33
/**
34
34
* Sets the private seed of the thread.
35
- * @param seed seed value to set. For the best results, all elements should be in [0, 1 ] range.
35
+ * @param seed seed value to set. For the best results, all elements should be in [-1000, 1000 ] range.
36
36
*/
37
37
seed3 : typeof randSeed3 ;
38
38
/**
39
39
* Sets the private seed of the thread.
40
- * @param seed seed value to set. For the best results, all elements should be in [0, 1 ] range.
40
+ * @param seed seed value to set. For the best results, all elements should be in [-1000, 1000 ] range.
41
41
*/
42
42
seed4 : typeof randSeed4 ;
43
43
/**
@@ -49,18 +49,18 @@ export const randf: {
49
49
*/
50
50
sampleExclusive : typeof randFloat01Exclusive ;
51
51
/**
52
- * Returns a random f32 value basen on normal (gaussian) distribution.
52
+ * Returns a random f32 value based on normal (gaussian) distribution.
53
53
* @param mu mean value.
54
54
* @param sigma standard deviation. Must be > 0.
55
55
*/
56
56
normal : typeof randNormal ;
57
57
/**
58
- * Returns a random f32 value basen on exponential distribution.
58
+ * Returns a random f32 value based on exponential distribution.
59
59
* @param rate rate parameter. Must be > 0.
60
60
*/
61
61
exponential : typeof randExponential ;
62
62
/**
63
- * Returns a random f32 value basen on cauchy distribution.
63
+ * Returns a random f32 value based on cauchy distribution.
64
64
* @param x0 location parameter.
65
65
* @param gamma scale parameter. Must be > 0.
66
66
*/
@@ -128,9 +128,8 @@ export const randf: {
128
128
} ;
129
129
130
130
export {
131
- // Generators
131
+ // --- Generators ---
132
132
BPETER ,
133
- // ---
134
133
// The default (Can change between releases to improve uniformity).
135
134
DefaultGenerator ,
136
135
// ---
0 commit comments