Skip to content

Commit

Permalink
feat: add sliceTo to namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Oct 15, 2023
1 parent 4da3db2 commit 54401ac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/node_modules/@stdlib/ndarray/base/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,15 @@ setReadOnly( ns, 'sliceAssign', require( '@stdlib/ndarray/base/slice-assign' ) )
*/
setReadOnly( ns, 'sliceDimension', require( '@stdlib/ndarray/base/slice-dimension' ) );

/**
* @name sliceTo
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/ndarray/base/slice-to}
*/
setReadOnly( ns, 'sliceTo', require( '@stdlib/ndarray/base/slice-to' ) );

/**
* @name strides
* @memberof ns
Expand Down

1 comment on commit 54401ac

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
ndarray/base $\color{green}775/775$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}775/775$
$\color{green}+100.00\%$
ndarray/base/slice-to $\color{green}150/150$
$\color{green}+100.00\%$
$\color{green}6/6$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}150/150$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.