Skip to content

Commit 191511b

Browse files
committed
changes made
Signed-off-by: hemantmm <[email protected]>
1 parent 19543b1 commit 191511b

File tree

17 files changed

+28
-30
lines changed

17 files changed

+28
-30
lines changed

lib/node_modules/@stdlib/stats/base/dists/levy/cdf/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ bench( pkg, function benchmark( b ) {
4545
x = new Float64Array( len );
4646
for ( i = 0; i < len; i++ ) {
4747
mu[ i ] = uniform( -50.0, 50.0 );
48-
x[ i ] = uniform( mu[ i ], 50.0 );
48+
x[ i ] = uniform( mu[ i ], 100.0 );
4949
scale[ i ] = uniform( EPS, 20.0 );
5050
}
5151

@@ -79,7 +79,7 @@ bench( pkg+':factory', function benchmark( b ) {
7979
x = new Float64Array( len );
8080
mycdf = cdf.factory( mu, scale );
8181
for ( i = 0; i < len; i++ ) {
82-
x[ i ] = uniform( -4.0, 4.0 );
82+
x[ i ] = uniform( 0.0, 4.0 );
8383
}
8484

8585
b.tic();

lib/node_modules/@stdlib/stats/base/dists/levy/entropy/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ bench( pkg, function benchmark( b ) {
4242
mu = new Float64Array( len );
4343
c = new Float64Array( len );
4444
for ( i = 0; i < len; i++ ) {
45-
mu[ i ] = ( uniform( -50.0, 50.0 ) );
46-
c[ i ] = ( uniform( EPS, 20.0 ) );
45+
mu[ i ] = uniform( EPS, 10.0 );
46+
c[ i ] = uniform( EPS, 20.0 );
4747
}
4848

4949
b.tic();

lib/node_modules/@stdlib/stats/base/dists/levy/logcdf/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ bench( pkg, function benchmark( b ) {
4545
x = new Float64Array( len );
4646
for ( i = 0; i < len; i++ ) {
4747
mu[ i ] = uniform( -50.0, 50.0 );
48-
x[ i ] = uniform( mu[ i ], 50.0 );
48+
x[ i ] = uniform( mu[ i ], 100.0 );
4949
scale[ i ] = uniform( EPS, 20.0 );
5050
}
5151

@@ -79,7 +79,7 @@ bench( pkg+':factory', function benchmark( b ) {
7979
mylogcdf = logcdf.factory( mu, scale );
8080
x = new Float64Array( len );
8181
for ( i = 0; i < len; i++ ) {
82-
x[ i ] = uniform( -2.0, 2.0 );
82+
x[ i ] = uniform( 0.0, 4.0 );
8383
}
8484

8585
b.tic();

lib/node_modules/@stdlib/stats/base/dists/levy/logpdf/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ bench( pkg, function benchmark( b ) {
4545
x = new Float64Array( len );
4646
for ( i = 0; i < len; i++ ) {
4747
mu[ i ] = ( uniform( -10.0, 10.0 ) );
48-
x[ i ] = ( uniform( mu[ i ], 10.0 ) );
48+
x[ i ] = ( uniform( mu[ i ], 100.0 ) );
4949
s[ i ] = ( uniform( EPS, 5.0 ) );
5050
}
5151

@@ -79,7 +79,7 @@ bench( pkg+':factory', function benchmark( b ) {
7979
mylogpdf = logpdf.factory( mu, s );
8080
x = new Float64Array( len );
8181
for ( i = 0; i < len; i++ ) {
82-
x[ i ] = ( uniform( -2.0, 2.0 ) );
82+
x[ i ] = uniform( 0.0, 4.0 );
8383
}
8484

8585
b.tic();

lib/node_modules/@stdlib/stats/base/dists/levy/mean/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ bench( pkg, function benchmark( b ) {
4242
mu = new Float64Array( len );
4343
c = new Float64Array( len );
4444
for ( i = 0; i < len; i++ ) {
45-
mu[ i ] = ( uniform( -50.0, 50.0 ) );
46-
c[ i ] = ( uniform( EPS, 20.0 ) );
45+
mu[ i ] = uniform( EPS, 10.0 );
46+
c[ i ] = uniform( EPS, 20.0 );
4747
}
4848

4949
b.tic();

lib/node_modules/@stdlib/stats/base/dists/levy/mean/benchmark/benchmark.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ bench( pkg+'::native', opts, function benchmark( b ) {
5151
mu = new Float64Array( len );
5252
c = new Float64Array( len );
5353
for ( i = 0; i < len; i++ ) {
54-
mu[ i ] = ( uniform( -50.0, 50.0 ) );
55-
c[ i ] = ( uniform( EPS, 20.0 ) );
54+
mu[ i ] = uniform( EPS, 10.0 );
55+
c[ i ] = uniform( EPS, 20.0 );
5656
}
5757

5858
b.tic();

lib/node_modules/@stdlib/stats/base/dists/levy/median/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bench( pkg, function benchmark( b ) {
4242
mu = new Float64Array( len );
4343
c = new Float64Array( len );
4444
for ( i = 0; i < len; i++ ) {
45-
mu[ i ] = uniform( -50.0, 50.0 );
45+
mu[ i ] = uniform( EPS, 10.0 );
4646
c[ i ] = uniform( EPS, 20.0 + EPS );
4747
}
4848

lib/node_modules/@stdlib/stats/base/dists/levy/median/benchmark/benchmark.native.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ bench( pkg+'::native', opts, function benchmark( b ) {
5151
mu = new Float64Array( len );
5252
c = new Float64Array( len );
5353
for ( i = 0; i < len; i++ ) {
54-
mu[ i ] = ( uniform( -50.0, 50.0 ) );
55-
c[ i ] = ( uniform( EPS, 20.0 ) );
56-
mu[ i ] = uniform( -50.0, 50.0 );
54+
mu[ i ] = uniform( EPS, 10.0 );
5755
c[ i ] = uniform( EPS, 20.0 + EPS );
5856
}
5957

lib/node_modules/@stdlib/stats/base/dists/levy/mode/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ bench( pkg, function benchmark( b ) {
4242
mu = new Float64Array( len );
4343
c = new Float64Array( len );
4444
for ( i = 0; i < len; i++ ) {
45-
mu[ i ] = ( uniform( -50.0, 50.0 ) );
46-
c[ i ] = ( uniform( EPS, 20.0 ) );
45+
mu[ i ] = uniform( EPS, 10.0 );
46+
c[ i ] = uniform( EPS, 20.0 );
4747
}
4848

4949
b.tic();

lib/node_modules/@stdlib/stats/base/dists/levy/mode/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ bench( pkg+'::native', opts, function benchmark( b ) {
5151
mu = new Float64Array( len );
5252
c = new Float64Array( len );
5353
for ( i = 0; i < len; i++ ) {
54-
mu[ i ] = ( uniform( -50.0, 50.0 ) );
54+
mu[ i ] = ( uniform( EPS, 10.0 ) );
5555
c[ i ] = ( uniform( EPS, 20.0 ) );
5656
}
5757

0 commit comments

Comments
 (0)