Skip to content

Commit 6b0d3fc

Browse files
authored
fix: update paths, descriptions, and examples
PR-URL: #2457 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent ebb5167 commit 6b0d3fc

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

lib/node_modules/@stdlib/blas/base/scnrm2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ var norm = scnrm2.ndarray( 2, cx, 1, 1 );
128128
```javascript
129129
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
130130
var filledarrayBy = require( '@stdlib/array/filled-by' );
131-
var Complex64 = require( '@stdlib/complex/float32' );
131+
var Complex64 = require( '@stdlib/complex/float32/ctor' );
132132
var scnrm2 = require( '@stdlib/blas/base/scnrm2' );
133133

134134
function rand() {

lib/node_modules/@stdlib/blas/base/scnrm2/docs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ interface Routine {
7575
* @example
7676
* var Complex64Array = require( '@stdlib/array/complex64' );
7777
*
78-
* var cx = new Complex64Array( [ 0.3, 0.1, 0.5, 0.0, 0.0, 0.5, 0.0, 0.2, 2.0, 3.0 ] );
78+
* var cx = new Complex64Array( [ 0.3, 0.1, 5.0, 8.0, 0.5, 0.0, 6.0, 9.0, 0.0, 0.5, 8.0, 3.0, 0.0, 0.2, 9.0, 4.0 ] );
7979
*
80-
* var norm = scnrm2( 4, cx, 1 );
80+
* var norm = scnrm2( 4, cx, 2 );
8181
* // returns ~0.8
8282
*
8383
* @example
8484
* var Complex64Array = require( '@stdlib/array/complex64' );
8585
*
86-
* var cx = new Complex64Array( [ 0.3, 0.1, 0.5, 0.0, 0.0, 0.5, 0.0, 0.2, 2.0, 3.0 ] );
86+
* var cx = new Complex64Array( [ 0.3, 0.1, 5.0, 8.0, 0.5, 0.0, 6.0, 9.0, 0.0, 0.5, 8.0, 3.0, 0.0, 0.2, 9.0, 4.0 ] );
8787
*
88-
* var norm = scnrm2.ndarray( 4, cx, 1, 0 );
88+
* var norm = scnrm2.ndarray( 4, cx, 2, 0 );
8989
* // returns ~0.8
9090
*/
9191
declare var scnrm2: Routine;

lib/node_modules/@stdlib/blas/base/scnrm2/test/test.ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ tape( 'the function computes the L2-norm', function test( t ) {
108108
t.end();
109109
});
110110

111-
tape( 'if provided an `N` parameter less than `1`, the function returns `0.0`', function test( t ) {
111+
tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', function test( t ) {
112112
var expected;
113113
var actual;
114114
var cx;

lib/node_modules/@stdlib/blas/base/scnrm2/test/test.ndarray.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ tape( 'the function computes the L2-norm', opts, function test( t ) {
117117
t.end();
118118
});
119119

120-
tape( 'if provided an `N` parameter less than `1`, the function returns `0.0`', opts, function test( t ) {
120+
tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', opts, function test( t ) {
121121
var expected;
122122
var actual;
123123
var cx;

lib/node_modules/@stdlib/blas/base/scnrm2/test/test.scnrm2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ tape( 'the function computes the L2-norm', function test( t ) {
108108
t.end();
109109
});
110110

111-
tape( 'if provided an `N` parameter less than `1`, the function returns `0.0`', function test( t ) {
111+
tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', function test( t ) {
112112
var expected;
113113
var actual;
114114
var cx;

lib/node_modules/@stdlib/blas/base/scnrm2/test/test.scnrm2.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ tape( 'the function computes the L2-norm', opts, function test( t ) {
117117
t.end();
118118
});
119119

120-
tape( 'if provided an `N` parameter less than `1`, the function returns `0.0`', opts, function test( t ) {
120+
tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', opts, function test( t ) {
121121
var expected;
122122
var actual;
123123
var cx;

0 commit comments

Comments
 (0)