Skip to content

Commit ea2e468

Browse files
authored
docs: update examples
PR-URL: #9239 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 9f89605 commit ea2e468

File tree

1 file changed

+4
-16
lines changed
  • lib/node_modules/@stdlib/stats/docs/types

1 file changed

+4
-16
lines changed

lib/node_modules/@stdlib/stats/docs/types/index.d.ts

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -616,10 +616,7 @@ interface Namespace {
616616
* var x = array( [ 1.0, NaN, -2.0, 4.0 ] );
617617
*
618618
* var y = ns.nanmean( x );
619-
* // returns <ndarray>
620-
*
621-
* var v = y.get();
622-
* // returns 1.0
619+
* // returns <ndarray>[ 1.0 ]
623620
*
624621
* @example
625622
* var array = require( '@stdlib/ndarray/array' );
@@ -629,10 +626,7 @@ interface Namespace {
629626
* var y = zeros( [] );
630627
*
631628
* var out = ns.nanmean.assign( x, y );
632-
* // returns <ndarray>
633-
*
634-
* var v = out.get();
635-
* // returns 1.0
629+
* // returns <ndarray>[ 1.0 ]
636630
*
637631
* var bool = ( out === y );
638632
* // returns true
@@ -652,10 +646,7 @@ interface Namespace {
652646
* var x = array( [ -1.0, 2.0, NaN ] );
653647
*
654648
* var y = ns.nanmin( x );
655-
* // returns <ndarray>
656-
*
657-
* var v = y.get();
658-
* // returns -1.0
649+
* // returns <ndarray>[ -1.0 ]
659650
*
660651
* @example
661652
* var array = require( '@stdlib/ndarray/array' );
@@ -665,10 +656,7 @@ interface Namespace {
665656
* var y = zeros( [] );
666657
*
667658
* var out = ns.nanmin.assign( x, y );
668-
* // returns <ndarray>
669-
*
670-
* var v = out.get();
671-
* // returns -1.0
659+
* // returns <ndarray>[ -1.0 ]
672660
*
673661
* var bool = ( out === y );
674662
* // returns true

0 commit comments

Comments
 (0)