Skip to content

Commit 81cfb9a

Browse files
committed
docs/meanors
1 parent 96e00c9 commit 81cfb9a

File tree

1 file changed

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

1 file changed

+4
-16
lines changed

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

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ interface Unary {
7575
* var x = array( [ 1.0, 2.0, -2.0, 4.0 ] );
7676
*
7777
* var y = meanors( x );
78-
* // returns <ndarray>
79-
*
80-
* var v = y.get();
81-
* // returns 1.25
78+
* // returns <ndarray>[ 1.25 ]
8279
*/
8380
<T = unknown, U = unknown>( x: InputArray<T>, options?: Options ): OutputArray<U>; // NOTE: we lose type specificity here, but retaining specificity would likely be difficult and/or tedious to completely enumerate, as the output ndarray data type is dependent on how `x` interacts with output data type policy and whether that policy has been overridden by `options.dtype`.
8481

@@ -98,10 +95,7 @@ interface Unary {
9895
* var y = zeros( [] );
9996
*
10097
* var out = meanors.assign( x, y );
101-
* // returns <ndarray>
102-
*
103-
* var v = out.get();
104-
* // returns 1.25
98+
* // returns <ndarray>[ 1.25 ]
10599
*
106100
* var bool = ( out === y );
107101
* // returns true
@@ -122,10 +116,7 @@ interface Unary {
122116
* var x = array( [ 1.0, 2.0, -2.0, 4.0 ] );
123117
*
124118
* var y = meanors( x );
125-
* // returns <ndarray>
126-
*
127-
* var v = y.get();
128-
* // returns 1.25
119+
* // returns <ndarray>[ 1.25 ]
129120
*
130121
* @example
131122
* var array = require( '@stdlib/ndarray/array' );
@@ -135,10 +126,7 @@ interface Unary {
135126
* var y = zeros( [] );
136127
*
137128
* var out = meanors.assign( x, y );
138-
* // returns <ndarray>
139-
*
140-
* var v = out.get();
141-
* // returns 1.25
129+
* // returns <ndarray>[ 1.25 ]
142130
*
143131
* var bool = ( out === y );
144132
* // returns true

0 commit comments

Comments
 (0)