You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4dce3f3
Browse filesBrowse the repository at this point in the historyBrowse files
docs: improve doctests for ndarray instances in @stdlib/ndarray/every
Replaces verbose .get() and ndarray2array element extraction in documentation with nested ndarray instance notation as described in RFC stdlib-js#9329.
Signed-off-by: Aryan Sharma <[email protected]>
By default, the function returns an [`ndarray`][@stdlib/ndarray/ctor] having a shape matching only the non-reduced dimensions of the input [`ndarray`][@stdlib/ndarray/ctor] (i.e., the reduced dimensions are dropped). To include the reduced dimensions as singleton dimensions in the output [`ndarray`][@stdlib/ndarray/ctor], set the `keepdims` option to `true`.
89
82
90
83
```javascript
91
84
var array =require( '@stdlib/ndarray/array' );
92
-
var ndarray2array =require( '@stdlib/ndarray/to-array' );
0 commit comments