Skip to content

Commit cd9b87d

Browse files
committed
docs: update examples
--- 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 d7896b5 commit cd9b87d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

lib/node_modules/@stdlib/lapack/base/slacpy/docs/types/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ interface Routine {
6969
* @example
7070
* var Float32Array = require( '@stdlib/array/float32' );
7171
*
72-
* var A = new Float32Array( [ 0.0, 1.0, 2.0, 3.0, 4.0 ] );
73-
* var B = new Float32Array( [ 0.0, 0.0, 99.0, 99.0, 99.0, 99.0 ] );
72+
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
73+
* var B = new Float32Array( 6 );
7474
*
7575
* slacpy.ndarray( 'all', 2, 2, A, 2, 1, 1, B, 2, 1, 2 );
76-
* // B => <Float32Array>[ 0.0, 0.0, 1.0, 2.0, 3.0, 4.0 ]
76+
* // B => <Float32Array>[ 0.0, 0.0, 2.0, 3.0, 4.0, 5.0 ]
7777
*/
7878
ndarray( uplo: string, M: number, N: number, A: Float32Array, strideA1: number, strideA2: number, offsetA: number, B: Float32Array, strideB1: number, strideB2: number, offsetB: number ): Float32Array;
7979
}
@@ -103,11 +103,11 @@ interface Routine {
103103
* @example
104104
* var Float32Array = require( '@stdlib/array/float32' );
105105
*
106-
* var A = new Float32Array( [ 0.0, 1.0, 2.0, 3.0, 4.0 ] );
107-
* var B = new Float32Array( [ 0.0, 0.0, 99.0, 99.0, 99.0, 99.0 ] );
106+
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
107+
* var B = new Float32Array( 6 );
108108
*
109109
* slacpy.ndarray( 'all', 2, 2, A, 2, 1, 1, B, 2, 1, 2 );
110-
* // B => <Float32Array>[ 0.0, 0.0, 1.0, 2.0, 3.0, 4.0 ]
110+
* // B => <Float32Array>[ 0.0, 0.0, 2.0, 3.0, 4.0, 5.0 ]
111111
*/
112112
declare var slacpy: Routine;
113113

lib/node_modules/@stdlib/lapack/base/slacpy/lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
* var Float32Array = require( '@stdlib/array/float32' );
3838
* var slacpy = require( '@stdlib/lapack/base/slacpy' );
3939
*
40-
* var A = new Float32Array( [ 0.0, 1.0, 2.0, 3.0, 4.0 ] );
41-
* var B = new Float32Array( [ 0.0, 0.0, 11.0, 312.0, 53.0, 412.0 ] );
40+
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
41+
* var B = new Float32Array( 6 );
4242
*
4343
* slacpy.ndarray( 'all', 2, 2, A, 2, 1, 1, B, 2, 1, 2 );
44-
* // B => <Float32Array>[ 0.0, 0.0, 1.0, 2.0, 3.0, 4.0 ]
44+
* // B => <Float32Array>[ 0.0, 0.0, 2.0, 3.0, 4.0, 5.0 ]
4545
*/
4646

4747
// MODULES //

0 commit comments

Comments
 (0)