Skip to content

Commit 9dc7363

Browse files
committed
docs: improve example clarity
--- 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: 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 610eff4 commit 9dc7363

File tree

1 file changed

+6
-6
lines changed
  • lib/node_modules/@stdlib/lapack/base/slacpy/docs

1 file changed

+6
-6
lines changed

lib/node_modules/@stdlib/lapack/base/slacpy/docs/repl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242

4343
Examples
4444
--------
45-
> var A = new {{alias:@stdlib/array/float32}}( [ 1.0, 3.0, 0.0, 4.0 ] );
46-
> var B = new {{alias:@stdlib/array/float32}}( [ 5.0, 7.0, 0.0, 8.0 ] );
45+
> var A = new {{alias:@stdlib/array/float32}}( [ 1.0, 2.0, 3.0, 4.0 ] );
46+
> var B = new {{alias:@stdlib/array/float32}}( [ 0.0, 0.0, 0.0, 0.0 ] );
4747
> {{alias}}( 'row-major', 'all', 2, 2, A, 2, B, 2 )
48-
<Float32Array>[ 1.0, 3.0, 0.0, 4.0 ]
48+
<Float32Array>[ 1.0, 2.0, 3.0, 4.0 ]
4949

5050

5151
{{alias}}.ndarray( uplo, M, N, A, sa1, sa2, oa, B, sb1, sb2, ob )
@@ -99,10 +99,10 @@
9999

100100
Examples
101101
--------
102-
> var A = new {{alias:@stdlib/array/float32}}( [ 0.0, 1.0, 3.0, 0.0, 4.0 ] );
103-
> var B = new {{alias:@stdlib/array/float32}}( [ 0.0, 0.0, 5.0, 7.0, 0.0, 8.0 ] );
102+
> var A = new {{alias:@stdlib/array/float32}}( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
103+
> var B = new {{alias:@stdlib/array/float32}}( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
104104
> {{alias}}.ndarray( 'all', 2, 2, A, 2, 1, 1, B, 2, 1, 2 )
105-
<Float32Array>[ 0.0, 0.0, 1.0, 3.0, 0.0, 4.0 ]
105+
<Float32Array>[ 0.0, 0.0, 2.0, 3.0, 4.0, 5.0 ]
106106

107107
See Also
108108
--------

0 commit comments

Comments
 (0)