Skip to content

Commit 4f41317

Browse files
committed
docs: update comments
--- 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: passed - 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 63eaebc commit 4f41317

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

lib/node_modules/@stdlib/ndarray/count-if/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function clbk( value ) {
5151
var x = array( [ [ [ 1.0, 2.0 ] ], [ [ 3.0, 4.0 ] ], [ [ 0.0, 6.0 ] ] ] );
5252
// returns <ndarray>
5353

54-
// Perform operation:
54+
// Perform reduction:
5555
var out = countIf( x, clbk );
5656
// returns <ndarray>
5757

@@ -85,7 +85,7 @@ function clbk( value ) {
8585
var x = array( [ [ [ 1.0, 2.0 ] ], [ [ 3.0, 4.0 ] ], [ [ 0.0, 6.0 ] ] ] );
8686
// returns <ndarray>
8787

88-
// Perform operation:
88+
// Perform reduction:
8989
var opts = {
9090
'dims': [ 1, 2 ]
9191
};
@@ -110,7 +110,7 @@ function clbk( value ) {
110110
var x = array( [ [ [ 1.0, 2.0 ] ], [ [ 3.0, 4.0 ] ], [ [ 0.0, 6.0 ] ] ] );
111111
// returns <ndarray>
112112

113-
// Perform operation:
113+
// Perform reduction:
114114
var opts = {
115115
'dims': [ 1, 2 ],
116116
'keepdims': true
@@ -144,7 +144,7 @@ var ctx = {
144144
'count': 0
145145
};
146146

147-
// Perform operation:
147+
// Perform reduction:
148148
var out = countIf( x, clbk, ctx );
149149
// returns <ndarray>
150150

@@ -176,7 +176,7 @@ var y = empty( [], {
176176
'dtype': 'int32'
177177
});
178178

179-
// Perform operation:
179+
// Perform reduction:
180180
var out = countIf.assign( x, y, clbk );
181181
// returns <ndarray>
182182

@@ -219,7 +219,7 @@ var y = empty( [ 3 ], {
219219
'dtype': 'int32'
220220
});
221221

222-
// Perform operation:
222+
// Perform reduction:
223223
var opts = {
224224
'dims': [ 1, 2 ]
225225
};

lib/node_modules/@stdlib/ndarray/count-if/docs/types/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ interface CountIf {
122122
* // Create an input ndarray:
123123
* var x = new ndarray( 'float64', xbuf, sh, sx, ox, 'row-major' );
124124
*
125-
* // Perform operation:
125+
* // Perform reduction:
126126
* var out = countIf( x, predicate );
127127
* // returns <ndarray>
128128
*
@@ -165,7 +165,7 @@ interface CountIf {
165165
* // Create an input ndarray:
166166
* var x = new ndarray( 'float64', xbuf, sh, sx, ox, 'row-major' );
167167
*
168-
* // Perform operation:
168+
* // Perform reduction:
169169
* var out = countIf( x, {}, predicate );
170170
* // returns <ndarray>
171171
*
@@ -214,7 +214,7 @@ interface CountIf {
214214
* 'dtype': 'int32'
215215
* });
216216
*
217-
* // Perform operation:
217+
* // Perform reduction:
218218
* var out = countIf.assign( x, y, predicate );
219219
* // returns <ndarray>
220220
*
@@ -263,7 +263,7 @@ interface CountIf {
263263
* 'dtype': 'int32'
264264
* });
265265
*
266-
* // Perform operation:
266+
* // Perform reduction:
267267
* var out = countIf.assign( x, y, {}, predicate );
268268
* // returns <ndarray>
269269
*
@@ -307,7 +307,7 @@ interface CountIf {
307307
* // Create an input ndarray:
308308
* var x = new ndarray( 'float64', xbuf, sh, sx, ox, 'row-major' );
309309
*
310-
* // Perform operation:
310+
* // Perform reduction:
311311
* var out = countIf( x, predicate );
312312
* // returns <ndarray>
313313
*
@@ -343,7 +343,7 @@ interface CountIf {
343343
* 'dtype': 'int32'
344344
* });
345345
*
346-
* // Perform operation:
346+
* // Perform reduction:
347347
* var out = countIf.assign( x, y, predicate );
348348
* // returns <ndarray>
349349
*

lib/node_modules/@stdlib/ndarray/count-if/lib/assign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ var validate = require( './validate.js' );
7979
* 'dtype': 'int32'
8080
* });
8181
*
82-
* // Perform operation:
82+
* // Perform reduction:
8383
* var out = assign( x, y, predicate );
8484
* // returns <ndarray>
8585
*

lib/node_modules/@stdlib/ndarray/count-if/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* // Create an input ndarray:
4848
* var x = new ndarray( 'float64', xbuf, sh, sx, ox, 'row-major' );
4949
*
50-
* // Perform operation:
50+
* // Perform reduction:
5151
* var out = countIf( x, predicate );
5252
* // returns <ndarray>
5353
*
@@ -84,7 +84,7 @@
8484
* 'dtype': 'int32'
8585
* });
8686
*
87-
* // Perform operation:
87+
* // Perform reduction:
8888
* var out = countIf.assign( x, y, predicate );
8989
* // returns <ndarray>
9090
*

lib/node_modules/@stdlib/ndarray/count-if/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var DEFAULT_DTYPE = defaults.get( 'dtypes.integer_index' );
8585
* // Create an input ndarray:
8686
* var x = new ndarray( 'float64', xbuf, sh, sx, ox, 'row-major' );
8787
*
88-
* // Perform operation:
88+
* // Perform reduction:
8989
* var out = countIf( x, predicate );
9090
* // returns <ndarray>
9191
*

0 commit comments

Comments
 (0)