Skip to content

Commit 27bcbf6

Browse files
committed
chore: directly draw from desired distribution and tweak ranges
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: passed - task: lint_c_benchmarks status: passed - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent fc0ff17 commit 27bcbf6

File tree

26 files changed

+46
-46
lines changed

26 files changed

+46
-46
lines changed

lib/node_modules/@stdlib/stats/base/dists/frechet/entropy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ var i;
139139
for ( i = 0; i < 10; i++ ) {
140140
alpha = ( randu()*20.0 ) + EPS;
141141
s = ( randu()*20.0 ) + EPS;
142-
m = ( randu()*20.0 ) - 40.0;
142+
m = ( randu()*40.0 ) - 20.0;
143143
y = entropy( alpha, s, m );
144144
console.log( 'α: %d, s: %d, m: %d, h(X;α,s,m): %d', alpha.toFixed( 4 ), s.toFixed( 4 ), m.toFixed( 4 ), y.toFixed( 4 ) );
145145
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ bench( pkg, function benchmark( b ) {
4141
for ( i = 0; i < b.iterations; i++ ) {
4242
alpha = ( randu()*20.0 ) + EPS;
4343
s = ( randu()*20.0 ) + EPS;
44-
m = ( randu()*20.0 ) - 40.0;
44+
m = ( randu()*40.0 ) - 20.0;
4545
y = entropy( alpha, s, m );
4646
if ( isnan( y ) ) {
4747
b.fail( 'should not return NaN' );

lib/node_modules/@stdlib/stats/base/dists/frechet/entropy/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var i;
3131
for ( i = 0; i < 10; i++ ) {
3232
alpha = ( randu()*20.0 ) + EPS;
3333
s = ( randu()*20.0 ) + EPS;
34-
m = ( randu()*20.0 ) - 40.0;
34+
m = ( randu()*40.0 ) - 20.0;
3535
y = entropy( alpha, s, m );
3636
console.log( 'α: %d, s: %d, m: %d, h(X;α,s,m): %d', alpha.toFixed( 4 ), s.toFixed( 4 ), m.toFixed( 4 ), y.toFixed( 4 ) );
3737
}

lib/node_modules/@stdlib/stats/base/dists/frechet/kurtosis/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ var i;
146146
for ( i = 0; i < 10; i++ ) {
147147
alpha = ( randu()*20.0 ) + EPS;
148148
s = ( randu()*20.0 ) + EPS;
149-
m = ( randu()*20.0 ) - 40.0;
149+
m = ( randu()*40.0 ) - 20.0;
150150
y = kurtosis( alpha, s, m );
151151
console.log( 'α: %d, s: %d, m: %d, Kurt(X;α,s,m): %d', alpha.toFixed( 4 ), s.toFixed( 4 ), m.toFixed( 4 ), y.toFixed( 4 ) );
152152
}

lib/node_modules/@stdlib/stats/base/dists/frechet/kurtosis/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ bench( pkg, function benchmark( b ) {
4141
for ( i = 0; i < b.iterations; i++ ) {
4242
alpha = ( randu()*20.0 ) + EPS;
4343
s = ( randu()*20.0 ) + EPS;
44-
m = ( randu()*20.0 ) - 40.0;
44+
m = ( randu()*40.0 ) - 20.0;
4545
y = kurtosis( alpha, s, m );
4646
if ( isnan( y ) ) {
4747
b.fail( 'should not return NaN' );

lib/node_modules/@stdlib/stats/base/dists/frechet/kurtosis/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var i;
3131
for ( i = 0; i < 10; i++ ) {
3232
alpha = ( randu()*20.0 ) + EPS;
3333
s = ( randu()*20.0 ) + EPS;
34-
m = ( randu()*20.0 ) - 40.0;
34+
m = ( randu()*40.0 ) - 20.0;
3535
y = kurtosis( alpha, s, m );
3636
console.log( 'α: %d, s: %d, m: %d, Kurt(X;α,s,m): %d', alpha.toFixed( 4 ), s.toFixed( 4 ), m.toFixed( 4 ), y.toFixed( 4 ) );
3737
}

lib/node_modules/@stdlib/stats/base/dists/frechet/mean/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ var i;
139139
for ( i = 0; i < 10; i++ ) {
140140
alpha = ( randu()*20.0 ) + EPS;
141141
s = ( randu()*20.0 ) + EPS;
142-
m = ( randu()*20.0 ) - 40.0;
142+
m = ( randu()*40.0 ) - 20.0;
143143
y = mean( alpha, s, m );
144144
console.log( 'α: %d, s: %d, m: %d, E(X;α,s,m): %d', alpha.toFixed( 4 ), s.toFixed( 4 ), m.toFixed( 4 ), y.toFixed( 4 ) );
145145
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ bench( pkg, function benchmark( b ) {
4141
for ( i = 0; i < b.iterations; i++ ) {
4242
alpha = ( randu()*20.0 ) + EPS;
4343
s = ( randu()*20.0 ) + EPS;
44-
m = ( randu()*20.0 ) - 40.0;
44+
m = ( randu()*40.0 ) - 20.0;
4545
y = mean( alpha, s, m );
4646
if ( isnan( y ) ) {
4747
b.fail( 'should not return NaN' );

lib/node_modules/@stdlib/stats/base/dists/frechet/mean/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var i;
3131
for ( i = 0; i < 10; i++ ) {
3232
alpha = ( randu()*20.0 ) + EPS;
3333
s = ( randu()*20.0 ) + EPS;
34-
m = ( randu()*20.0 ) - 40.0;
34+
m = ( randu()*40.0 ) - 20.0;
3535
y = mean( alpha, s, m );
3636
console.log( 'α: %d, s: %d, m: %d, E(X;α,s,m): %d', alpha.toFixed( 4 ), s.toFixed( 4 ), m.toFixed( 4 ), y.toFixed( 4 ) );
3737
}

lib/node_modules/@stdlib/stats/base/dists/frechet/median/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ var i;
137137
for ( i = 0; i < 10; i++ ) {
138138
alpha = ( randu()*20.0 ) + EPS;
139139
s = ( randu()*20.0 ) + EPS;
140-
m = ( randu()*20.0 ) - 40.0;
140+
m = ( randu()*40.0 ) - 20.0;
141141
y = median( alpha, s, m );
142142
console.log( 'α: %d, s: %d, m: %d, Median(X;α,s,m): %d', alpha.toFixed( 4 ), s.toFixed( 4 ), m.toFixed( 4 ), y.toFixed( 4 ) );
143143
}

0 commit comments

Comments
 (0)