diff --git a/lib/node_modules/@stdlib/blas/ext/base/gcartesian-power/README.md b/lib/node_modules/@stdlib/blas/ext/base/gcartesian-power/README.md index 40b2b3d5f485..d89ace2acf77 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/gcartesian-power/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/gcartesian-power/README.md @@ -104,8 +104,8 @@ The function has the following parameters: - **strideX**: stride length for `x`. - **offsetX**: starting index for `x`. - **out**: output [`Array`][mdn-array] or [`typed array`][mdn-typed-array]. -- **strideOut1**: stride length for the first dimension of `out`. -- **strideOut2**: stride length for the second dimension of `out`. +- **strideOut1**: stride length of the first dimension of `out`. +- **strideOut2**: stride length of the second dimension of `out`. - **offsetOut**: starting index for `out`. While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example, to access only the last two elements: diff --git a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.js b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.js index f99ad4655c24..bb74b3c746b6 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.js @@ -41,7 +41,7 @@ var K = 2; // FUNCTIONS // /** -* Create a benchmark function. +* Creates a benchmark function. * * @private * @param {PositiveInteger} len - array length diff --git a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.native.js index df6716f019ef..dd28b863c565 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.native.js @@ -46,7 +46,7 @@ var K = 2; // FUNCTIONS // /** -* Create a benchmark function. +* Creates a benchmark function. * * @private * @param {PositiveInteger} len - array length diff --git a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.ndarray.js b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.ndarray.js index 92b4aa47ca4f..d6b981903e9f 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.ndarray.js +++ b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.ndarray.js @@ -41,7 +41,7 @@ var K = 2; // FUNCTIONS // /** -* Create a benchmark function. +* Creates a benchmark function. * * @private * @param {PositiveInteger} len - array length diff --git a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.ndarray.native.js b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.ndarray.native.js index 2b0300ff9a5c..e57e89160995 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.ndarray.native.js +++ b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/benchmark/benchmark.ndarray.native.js @@ -46,7 +46,7 @@ var K = 2; // FUNCTIONS // /** -* Create a benchmark function. +* Creates a benchmark function. * * @private * @param {PositiveInteger} len - array length diff --git a/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/README.md b/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/README.md index d65753863960..8cf085c55ffe 100644 --- a/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/README.md +++ b/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/README.md @@ -20,7 +20,7 @@ limitations under the License. # dcorrelation -> Calculate the [correlation distance][correlation-distance] between two double-precision floating-point strided arrays. +> Compute the [correlation distance][correlation-distance] between two double-precision floating-point strided arrays.
@@ -36,8 +36,6 @@ D(X, Y) = 1 - \frac{\displaystyle\sum_{i=0}^{N-1} (x_i - \bar{x})(y_i - \bar{y}) where `x_i` and `y_i` are the _ith_ components of vectors **X** and **Y**, respectively. - -
@@ -53,7 +51,7 @@ var dcorrelation = require( '@stdlib/stats/strided/distances/dcorrelation' ); #### dcorrelation( N, x, strideX, y, strideY ) -Computes the [correlation distance][correlation-distance] of two double-precision floating-point strided arrays. +Computes the [correlation distance][correlation-distance] between two double-precision floating-point strided arrays. ```javascript var Float64Array = require( '@stdlib/array/float64' ); @@ -104,7 +102,7 @@ var c = dcorrelation( 4, x1, 2, y1, 2 ); #### dcorrelation.ndarray( N, x, strideX, offsetX, y, strideY, offsetY ) -Computes the [correlation distance][correlation-distance] of two double-precision floating-point strided arrays using alternative indexing semantics. +Computes the [correlation distance][correlation-distance] between two double-precision floating-point strided arrays using alternative indexing semantics. ```javascript var Float64Array = require( '@stdlib/array/float64' ); diff --git a/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/docs/types/test.ts b/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/docs/types/test.ts index 61d9ab954b70..9a1eb28f87c6 100644 --- a/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/docs/types/test.ts +++ b/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/docs/types/test.ts @@ -242,7 +242,6 @@ import dcorrelation = require( './index' ); dcorrelation.ndarray( x.length, x ); // $ExpectError dcorrelation.ndarray( x.length, x, 1 ); // $ExpectError dcorrelation.ndarray( x.length, x, 1, 0 ); // $ExpectError - dcorrelation.ndarray( x.length, x, 1, 0 ); // $ExpectError dcorrelation.ndarray( x.length, x, 1, 0, y ); // $ExpectError dcorrelation.ndarray( x.length, x, 1, 0, y, 1 ); // $ExpectError dcorrelation.ndarray( x.length, x, 1, 0, y, 1, 0, 0 ); // $ExpectError diff --git a/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/include/stdlib/stats/strided/distances/dcorrelation.h b/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/include/stdlib/stats/strided/distances/dcorrelation.h index 5b7f12de8b77..e3ea2d87c2dc 100644 --- a/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/include/stdlib/stats/strided/distances/dcorrelation.h +++ b/lib/node_modules/@stdlib/stats/strided/distances/dcorrelation/include/stdlib/stats/strided/distances/dcorrelation.h @@ -16,8 +16,8 @@ * limitations under the License. */ -#ifndef STDLIB_STATS_STRIDED_DCORRELATION_H -#define STDLIB_STATS_STRIDED_DCORRELATION_H +#ifndef STDLIB_STATS_STRIDED_DISTANCES_DCORRELATION_H +#define STDLIB_STATS_STRIDED_DISTANCES_DCORRELATION_H #include "stdlib/blas/base/shared.h" @@ -42,4 +42,4 @@ double API_SUFFIX(stdlib_strided_dcorrelation_ndarray)( const CBLAS_INT N, const } #endif -#endif // !STDLIB_STATS_STRIDED_DCORRELATION_H +#endif // !STDLIB_STATS_STRIDED_DISTANCES_DCORRELATION_H