Skip to content

fix: update paths, descriptions, and examples for blas/base/scnrm2 #2457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/scnrm2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ var norm = scnrm2.ndarray( 2, cx, 1, 1 );
```javascript
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var Complex64 = require( '@stdlib/complex/float32' );
var Complex64 = require( '@stdlib/complex/float32/ctor' );
var scnrm2 = require( '@stdlib/blas/base/scnrm2' );

function rand() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ interface Routine {
* @example
* var Complex64Array = require( '@stdlib/array/complex64' );
*
* var cx = new Complex64Array( [ 0.3, 0.1, 0.5, 0.0, 0.0, 0.5, 0.0, 0.2, 2.0, 3.0 ] );
* 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 ] );
*
* var norm = scnrm2( 4, cx, 1 );
* var norm = scnrm2( 4, cx, 2 );
* // returns ~0.8
*
* @example
* var Complex64Array = require( '@stdlib/array/complex64' );
*
* var cx = new Complex64Array( [ 0.3, 0.1, 0.5, 0.0, 0.0, 0.5, 0.0, 0.2, 2.0, 3.0 ] );
* 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 ] );
*
* var norm = scnrm2.ndarray( 4, cx, 1, 0 );
* var norm = scnrm2.ndarray( 4, cx, 2, 0 );
* // returns ~0.8
*/
declare var scnrm2: Routine;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ tape( 'the function computes the L2-norm', function test( t ) {
t.end();
});

tape( 'if provided an `N` parameter less than `1`, the function returns `0.0`', function test( t ) {
tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', function test( t ) {
var expected;
var actual;
var cx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ tape( 'the function computes the L2-norm', opts, function test( t ) {
t.end();
});

tape( 'if provided an `N` parameter less than `1`, the function returns `0.0`', opts, function test( t ) {
tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', opts, function test( t ) {
var expected;
var actual;
var cx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ tape( 'the function computes the L2-norm', function test( t ) {
t.end();
});

tape( 'if provided an `N` parameter less than `1`, the function returns `0.0`', function test( t ) {
tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', function test( t ) {
var expected;
var actual;
var cx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ tape( 'the function computes the L2-norm', opts, function test( t ) {
t.end();
});

tape( 'if provided an `N` parameter less than `1`, the function returns `0.0`', opts, function test( t ) {
tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', opts, function test( t ) {
var expected;
var actual;
var cx;
Expand Down
Loading