Skip to content

Commit 4dd169d

Browse files
committed
Fix spelling typo
1 parent 646848d commit 4dd169d

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

lib/node_modules/@stdlib/blas/base/dscal/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
semantics.
6262

6363
While typed array views mandate a view offset based on the underlying
64-
buffer, the `offset` parameter supports indexing semantics based on
65-
starting indicies.
64+
buffer, the `offset` parameter supports indexing semantics based on a
65+
starting index.
6666

6767
Parameters
6868
----------

lib/node_modules/@stdlib/blas/base/gscal/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
Multiplies `x` by a constant `alpha` with alternative indexing semantics.
6161

6262
While typed array views mandate a view offset based on the underlying
63-
buffer, the `offset` parameter supports indexing semantics based on
64-
starting indicies.
63+
buffer, the `offset` parameter supports indexing semantics based on a
64+
starting index.
6565

6666
Parameters
6767
----------

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var snrm2 = require( '@stdlib/blas/base/snrm2' );
4949

5050
#### snrm2( N, x, stride )
5151

52-
Computes the [L2-norm][l2-norm] of the given array.
52+
Computes the [L2-norm][l2-norm] of a single-precision floating-point vector `x`.
5353

5454
```javascript
5555
var Float32Array = require( '@stdlib/array/float32' );
@@ -63,11 +63,11 @@ var z = snrm2( N, x, 1 );
6363

6464
The function accepts the following parameters:
6565

66-
- **N**: number of elements in the array.
66+
- **N**: number of indexed elements.
6767
- **x**: input [`Float32Array`][@stdlib/array/float32].
6868
- **stride**: index increment for `x`.
6969

70-
The `N` and `stride` parameters determine which elements in `x` are accessed at runtime. For example, to compute the [L2-norm][l2-norm] of every other element of `x`,
70+
The `N` and `stride` parameters determine which elements in `x` are accessed at runtime. For example, to compute the [L2-norm][l2-norm] of every other element in `x`,
7171

7272
```javascript
7373
var Float32Array = require( '@stdlib/array/float32' );
@@ -80,7 +80,9 @@ var z = snrm2( N, x, 2 );
8080
// returns 5.0
8181
```
8282

83-
Note that indexing is relative to the first index. To introduce an offset, use [`typed array`][mdn-typed-array] views.
83+
Note that indexing is relative to the first index. To introduce an offset, use [`typed array`][mdn-typed-array] views.
84+
85+
<!-- eslint-disable stdlib/capitalized-comments -->
8486

8587
```javascript
8688
var Float32Array = require( '@stdlib/array/float32' );
@@ -97,7 +99,7 @@ var z = snrm2( N, x1, 2 );
9799

98100
#### snrm2.ndarray( N, x, stride, offset )
99101

100-
Computes the [L2-norm][l2-norm] of the given array with alternative indexing semantics.
102+
Computes the [L2-norm][l2-norm] of a single-precision floating-point vector using alternative indexing semantics.
101103

102104
```javascript
103105
var Float32Array = require( '@stdlib/array/float32' );
@@ -113,7 +115,7 @@ The function accepts the following additional parameters:
113115

114116
- **offset**: starting index for `x`.
115117

116-
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying `buffer`, the `offset` parameter supports indexing semantics based on starting indicies. For example, to calculate the [L2-norm][l2-norm] for every other value in `x` starting from the second value
118+
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying `buffer`, the `offset` parameter supports indexing semantics based on a starting index. For example, to calculate the [L2-norm][l2-norm] for every other value in `x` starting from the second value
117119

118120
```javascript
119121
var Float32Array = require( '@stdlib/array/float32' );

lib/node_modules/@stdlib/blas/base/sscal/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
semantics.
6262

6363
While typed array views mandate a view offset based on the underlying
64-
buffer, the `offset` parameter supports indexing semantics based on
65-
starting indicies.
64+
buffer, the `offset` parameter supports indexing semantics based on a
65+
starting index.
6666

6767
Parameters
6868
----------

0 commit comments

Comments
 (0)