Skip to content

Commit 1ec0e7c

Browse files
Merge remote-tracking branch 'rem/develop' into refactor/triangular-random
--- 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: na - 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: na - 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: na - task: lint_c_benchmarks status: na - 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 --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
2 parents a61dab3 + fd45831 commit 1ec0e7c

File tree

1 file changed

+0
-8
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/triangular/ctor/benchmark

1 file changed

+0
-8
lines changed

lib/node_modules/@stdlib/stats/base/dists/triangular/ctor/benchmark/benchmark.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -520,13 +520,11 @@ bench( pkg+':cdf', function benchmark( bm ) {
520520
b = 40.0;
521521
c = 30.0;
522522
dist = new Triangular( a, b, c );
523-
524523
len = bm.iterations;
525524
x = new Float64Array( len );
526525
for ( i = 0; i < len; i++ ) {
527526
x[ i ] = uniform( 0.0, 60.0 );
528527
}
529-
530528
bm.tic();
531529
for ( i = 0; i < bm.iterations; i++ ) {
532530
y = dist.cdf( x[ i % len ] );
@@ -556,13 +554,11 @@ bench( pkg+':mgf', function benchmark( bm ) {
556554
b = 40.0;
557555
c = 30.0;
558556
dist = new Triangular( a, b, c );
559-
560557
len = bm.iterations;
561558
x = new Float64Array( len );
562559
for ( i = 0; i < len; i++ ) {
563560
x[ i ] = uniform( 0.0, 1.0 );
564561
}
565-
566562
bm.tic();
567563
for ( i = 0; i < bm.iterations; i++ ) {
568564
y = dist.mgf( x[ i % len ] );
@@ -592,13 +588,11 @@ bench( pkg+':pdf', function benchmark( bm ) {
592588
b = 40.0;
593589
c = 30;
594590
dist = new Triangular( a, b, c );
595-
596591
len = bm.iterations;
597592
x = new Float64Array( len );
598593
for ( i = 0; i < len; i++ ) {
599594
x[ i ] = uniform( 0.0, 60.0 );
600595
}
601-
602596
bm.tic();
603597
for ( i = 0; i < bm.iterations; i++ ) {
604598
y = dist.pdf( x[ i % len ] );
@@ -628,13 +622,11 @@ bench( pkg+':quantile', function benchmark( bm ) {
628622
b = 40.0;
629623
c = 30.0;
630624
dist = new Triangular( a, b, c );
631-
632625
len = bm.iterations;
633626
x = new Float64Array( len );
634627
for ( i = 0; i < len; i++ ) {
635628
x[ i ] = uniform( 0.0, 1.0 );
636629
}
637-
638630
bm.tic();
639631
for ( i = 0; i < bm.iterations; i++ ) {
640632
y = dist.quantile( x[ i % len ] );

0 commit comments

Comments
 (0)