Skip to content

Commit bbac071

Browse files
committed
feat: add atleast1d, atleast2d, and atleast3d to namespace
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 7352d14 commit bbac071

File tree

1 file changed

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

1 file changed

+27
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,33 @@ setReadOnly( ns, 'assign', require( '@stdlib/ndarray/base/assign' ) );
8585
*/
8686
setReadOnly( ns, 'assignScalar', require( '@stdlib/ndarray/base/assign-scalar' ) );
8787

88+
/**
89+
* @name atleast1d
90+
* @memberof ns
91+
* @readonly
92+
* @type {Function}
93+
* @see {@link module:@stdlib/ndarray/base/atleast1d}
94+
*/
95+
setReadOnly( ns, 'atleast1d', require( '@stdlib/ndarray/base/atleast1d' ) );
96+
97+
/**
98+
* @name atleast2d
99+
* @memberof ns
100+
* @readonly
101+
* @type {Function}
102+
* @see {@link module:@stdlib/ndarray/base/atleast2d}
103+
*/
104+
setReadOnly( ns, 'atleast2d', require( '@stdlib/ndarray/base/atleast2d' ) );
105+
106+
/**
107+
* @name atleast3d
108+
* @memberof ns
109+
* @readonly
110+
* @type {Function}
111+
* @see {@link module:@stdlib/ndarray/base/atleast3d}
112+
*/
113+
setReadOnly( ns, 'atleast3d', require( '@stdlib/ndarray/base/atleast3d' ) );
114+
88115
/**
89116
* @name atleastnd
90117
* @memberof ns

0 commit comments

Comments
 (0)