Skip to content

Commit 7680fb8

Browse files
committed
feat: add numelDimension to namespace
1 parent 1124fc6 commit 7680fb8

File tree

1 file changed

+9
-0
lines changed
  • lib/node_modules/@stdlib/ndarray/lib

1 file changed

+9
-0
lines changed

lib/node_modules/@stdlib/ndarray/lib/index.js

+9
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,15 @@ setReadOnly( ns, 'ndarrayNextDataType', require( '@stdlib/ndarray/next-dtype' )
288288
*/
289289
setReadOnly( ns, 'numel', require( '@stdlib/ndarray/numel' ) );
290290

291+
/**
292+
* @name numelDimension
293+
* @memberof ns
294+
* @readonly
295+
* @type {Function}
296+
* @see {@link module:@stdlib/ndarray/numel-dimension}
297+
*/
298+
setReadOnly( ns, 'numelDimension', require( '@stdlib/ndarray/numel-dimension' ) );
299+
291300
/**
292301
* @name ndarrayOffset
293302
* @memberof ns

0 commit comments

Comments
 (0)