Skip to content

Commit 4dba421

Browse files
committed
docs: minor clean-up
1 parent 69ad0f3 commit 4dba421

File tree

14 files changed

+19
-17
lines changed

14 files changed

+19
-17
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ int main( void ) {
283283
const int strideX = 1;
284284
const int strideY = -1;
285285

286-
// Copy elements:
286+
// Apply a plane rotation:
287287
c_csrot( N, (void *)x, strideX, (void *)y, strideY, 0.8f, 0.6f );
288288

289289
// Print the result:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ limitations under the License.
2626

2727
The [L2-norm][l2-norm] is defined as
2828

29-
<!-- <equation class="equation" label="eq:l2_norm" align="center raw="\|\mathbf{x}\|_2 = \sqrt{x_0^2 + x_1^2 + \ldots + x_{N-1}^2}" alt="L2-norm definition."> -->
29+
<!-- <equation class="equation" label="eq:l2_norm" align="center" raw="\|\mathbf{x}\|_2 = \sqrt{x_0^2 + x_1^2 + \ldots + x_{N-1}^2}" alt="L2-norm definition."> -->
3030

3131
<div class="equation" align="center" data-raw-text="\|\mathbf{x}\|_2 = \sqrt{x_0^2 + x_1^2 + \ldots + x_{N-1}^2}" data-equation="eq:l2_norm">
3232
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@f766d7eeb56ff14cbceeeeef03d7f7b88c467515/lib/node_modules/@stdlib/blas/base/dnrm2/docs/img/equation_l2_norm.svg" alt="L2-norm definition.">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ limitations under the License.
2626

2727
The [L2-norm][l2-norm] is defined as
2828

29-
<!-- <equation class="equation" label="eq:l2_norm" align="center raw="\|\mathbf{x}\|_2 = \sqrt{x_0^2 + x_1^2 + \ldots + x_{N-1}^2}" alt="L2-norm definition."> -->
29+
<!-- <equation class="equation" label="eq:l2_norm" align="center" raw="\|\mathbf{x}\|_2 = \sqrt{x_0^2 + x_1^2 + \ldots + x_{N-1}^2}" alt="L2-norm definition."> -->
3030

3131
<div class="equation" align="center" data-raw-text="\|\mathbf{x}\|_2 = \sqrt{x_0^2 + x_1^2 + \ldots + x_{N-1}^2}" data-equation="eq:l2_norm">
3232
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@f8997c489e47eb1a9d993ef4ab3a522a095331f5/lib/node_modules/@stdlib/blas/base/gnrm2/docs/img/equation_l2_norm.svg" alt="L2-norm definition.">

lib/node_modules/@stdlib/blas/base/operation-side-resolve-str/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ v = resolve( str2enum( 'left' ) );
5454
// returns 'left'
5555
```
5656

57-
If unable to resolve a operation side string, the function returns `null`.
57+
If unable to resolve an operation side string, the function returns `null`.
5858

5959
```javascript
6060
var v = resolve( 'beep' );

lib/node_modules/@stdlib/blas/base/operation-sides/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ bool = isOperationSide( 'beep' );
124124

125125
An enumeration of BLAS operation sides with the following fields:
126126

127-
- **STDLIB_BLAS_LEFT**: a triangular matrix is on the left side of a matrix-matrix operation (e.g., `XA = B`, where `A` is a triangular matrix).
127+
- **STDLIB_BLAS_LEFT**: a triangular matrix is on the left side of a matrix-matrix operation (e.g., `AX = B`, where `A` is a triangular matrix).
128128
- **STDLIB_BLAS_RIGHT**: a triangular matrix is on the right side of a matrix-matrix operation (e.g., `XA = B`, where `A` is a triangular matrix).
129129

130130
```c

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ The function accepts the following arguments:
207207
- **X**: `[in] float*` input array.
208208
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
209209
- **Y**: `[inout] float*` output array.
210-
- **strideY**: `[in CBLAS_INT` index increment for `Y`.
210+
- **strideY**: `[in] CBLAS_INT` index increment for `Y`.
211211
212212
```c
213213
void c_saxpy( const CBLAS_INT N, const float alpha, const float *X, const CBLAS_INT strideX, float *Y, const CBLAS_INT strideY );
@@ -232,7 +232,7 @@ The function accepts the following arguments:
232232
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
233233
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
234234
- **Y**: `[inout] float*` output array.
235-
- **strideY**: `[in CBLAS_INT` index increment for `Y`.
235+
- **strideY**: `[in] CBLAS_INT` index increment for `Y`.
236236
- **offsetY**: `[in] CBLAS_INT` starting index for `Y`.
237237
238238
```c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var x0 = new Complex64Array( [ 1.0, -2.0, 3.0, -4.0, 5.0, -6.0 ] );
7171
// Create an offset view:
7272
var x1 = new Complex64Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
7373

74-
// Compute the L2-out:
74+
// Compute the sum of absolute values:
7575
var out = scasum( 2, x1, 1 );
7676
// returns 18.0
7777
```

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ The function accepts the following arguments:
210210
- **N**: `[in] CBLAS_INT` number of indexed elements.
211211
- **X**: `[in] void*` input array.
212212
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
213+
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
213214
214215
```c
215216
float c_scnrm2_ndarray( const CBLAS_INT N, const void *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ limitations under the License.
2626

2727
The [L2-norm][l2-norm] is defined as
2828

29-
<!-- <equation class="equation" label="eq:l2_norm" align="center raw="\|\mathbf{x}\|_2 = \sqrt{x_0^2 + x_1^2 + \ldots + x_{N-1}^2}" alt="L2-norm definition."> -->
29+
<!-- <equation class="equation" label="eq:l2_norm" align="center" raw="\|\mathbf{x}\|_2 = \sqrt{x_0^2 + x_1^2 + \ldots + x_{N-1}^2}" alt="L2-norm definition."> -->
3030

3131
<div class="equation" align="center" data-raw-text="\|\mathbf{x}\|_2 = \sqrt{x_0^2 + x_1^2 + \ldots + x_{N-1}^2}" data-equation="eq:l2_norm">
3232
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@247c6b352fc1002f11ba3e7ed389f067380a8a87/lib/node_modules/@stdlib/blas/base/snrm2/docs/img/equation_l2_norm.svg" alt="L2-norm definition.">
@@ -188,7 +188,7 @@ console.log( out );
188188

189189
#### c_snrm2( N, \*X, stride )
190190

191-
Computes the L2-norm of a complex single-precision floating-point vector.
191+
Computes the L2-norm of a single-precision floating-point vector.
192192

193193
```c
194194
const float x[] = { 1.0f, 2.0f, 2.0f, -7.0f, -2.0f, 3.0f, 4.0f, 2.0f };
@@ -209,7 +209,7 @@ float c_snrm2( const CBLAS_INT N, const float *X, const CBLAS_INT stride );
209209

210210
#### c_snrm2_ndarray( N, \*X, stride, offset )
211211

212-
Computes the L2-norm of a complex single-precision floating-point vector using alternative indexing semantics.
212+
Computes the L2-norm of a single-precision floating-point vector using alternative indexing semantics.
213213

214214
```c
215215
const float x[] = { 1.0f, 2.0f, 2.0f, -7.0f, -2.0f, 3.0f, 4.0f, 2.0f };

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The function has the following parameters:
6969
- **c**: cosine of the angle of rotation.
7070
- **s**: sine of the angle of rotation.
7171

72-
The `N` and stride parameters determine how values in the strided arrays are accessed at runtime. For example, to apply a plane rotation to every other element,
72+
The `N` and stride parameters determine how values in the strided arrays are accessed at runtime. For example, to apply a plane rotation to every other element,
7373

7474
```javascript
7575
var Float32Array = require( '@stdlib/array/float32' );
@@ -169,7 +169,7 @@ console.log( x );
169169
var y = discreteUniform( x.length, 0, 255, opts );
170170
console.log( y );
171171

172-
// Applies a plane rotation :
172+
// Apply a plane rotation:
173173
srot( x.length, x, 1, y, 1, 0.8, 0.6 );
174174
console.log( x );
175175
console.log( y );

0 commit comments

Comments
 (0)