Skip to content

Commit 7c88f80

Browse files
committed
fix: fixing markdown files
--- 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: passed - task: lint_javascript_src status: na - 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 da4326b commit 7c88f80

2 files changed

Lines changed: 6 additions & 25 deletions

File tree

lib/node_modules/@stdlib/stats/strided/dnancumaxabs/README.md

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ console.log( x );
162162
var y = new Float64Array( x.length );
163163
dnancumaxabs( x.length, x, 1, y, 1 );
164164
console.log( y );
165-
166-
dnancumaxabs.ndarray( x.length, x, 1, 0, y, 1, 0 );
167-
console.log( y );
168165
```
169166

170167
</section>
@@ -269,21 +266,21 @@ void stdlib_strided_dnancumaxabs_ndarray( const CBLAS_INT N, const double *X, co
269266

270267
int main( void ) {
271268
// Create strided arrays:
272-
const double x[] = { 1.0, 0.0, 2.0, 0.0, 0.0/0.0, 0.0, -3.0, 0.0, 4.0, 0.0, -5.0, 0.0, 6.0, 0.0, 7.0, 0.0 };
273-
double y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
269+
const double x[] = { 1.0, -2.0, -3.0, 4.0, 0.0/0.0, -6.0, 7.0, 8.0, 0.0/0.0, 10.0 };
270+
double y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
274271

275272
// Specify the number of elements:
276-
const int N = 8;
273+
const int N = 5;
277274

278275
// Specify stride lengths:
279276
const int strideX = 2;
280-
const int strideY = 2;
277+
const int strideY = -2;
281278

282279
// Compute the cumulative maximum absolute value:
283280
stdlib_strided_dnancumaxabs( N, x, strideX, y, strideY );
284281

285282
// Print the result:
286-
for ( int i = 0; i < 16; i++ ) {
283+
for ( int i = 0; i < 10; i++ ) {
287284
printf( "y[ %d ] = %lf\n", i, y[ i ] );
288285
}
289286
}
@@ -307,15 +304,6 @@ int main( void ) {
307304
308305
<section class="related">
309306
310-
* * *
311-
312-
## See Also
313-
314-
- <span class="package-name">[`@stdlib/stats/base/dnancumaxabs`][@stdlib/stats/base/dnancumaxabs]</span><span class="delimiter">: </span><span class="description">calculate the cumulative maximum absolute value of a strided array, ignoring NaN values.</span>
315-
- <span class="package-name">[`@stdlib/stats/strided/dcumaxabs`][@stdlib/stats/strided/dcumaxabs]</span><span class="delimiter">: </span><span class="description">calculate the cumulative maximum absolute value of double-precision floating-point strided array elements.</span>
316-
- <span class="package-name">[`@stdlib/stats/strided/dnancumax`][@stdlib/stats/strided/dnancumax]</span><span class="delimiter">: </span><span class="description">calculate the cumulative maximum of double-precision floating-point strided array elements, ignoring NaN values.</span>
317-
- <span class="package-name">[`@stdlib/stats/strided/dnancuminabs`][@stdlib/stats/strided/dnancuminabs]</span><span class="delimiter">: </span><span class="description">calculate the cumulative minimum absolute value of double-precision floating-point strided array elements, ignoring NaN values.</span>
318-
319307
</section>
320308
321309
<!-- /.related -->
@@ -330,14 +318,6 @@ int main( void ) {
330318
331319
<!-- <related-links> -->
332320
333-
[@stdlib/stats/base/dnancumaxabs]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dnancumaxabs
334-
335-
[@stdlib/stats/strided/dcumaxabs]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dcumaxabs
336-
337-
[@stdlib/stats/strided/dnancumax]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dnancumax
338-
339-
[@stdlib/stats/strided/dnancuminabs]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dnancuminabs
340-
341321
<!-- </related-links> -->
342322
343323
</section>

lib/node_modules/@stdlib/stats/strided/dnancumaxabs/docs/repl.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
{{alias}}( N, x, strideX, y, strideY )
23
Computes the cumulative maximum absolute value of double-precision floating-
34
point strided array elements, ignoring `NaN` values.

0 commit comments

Comments
 (0)