Skip to content

Commit 74e79f9

Browse files
authored
fix: propagate API_SUFFIX wrappers and complex number description wording
PR-URL: #11952 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent c5fad82 commit 74e79f9

13 files changed

Lines changed: 24 additions & 24 deletions

File tree

lib/node_modules/@stdlib/blas/ext/base/snansumpw/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,5 @@ float API_SUFFIX(stdlib_strided_snansumpw_ndarray)( const CBLAS_INT N, const flo
149149
// Recurse by dividing by two, but avoiding non-multiples of unroll factor...
150150
n = N / 2;
151151
n -= n % 8;
152-
return stdlib_strided_snansumpw_ndarray( n, X, strideX, ix ) + stdlib_strided_snansumpw_ndarray( N-n, X, strideX, ix+(n*strideX) );
152+
return API_SUFFIX(stdlib_strided_snansumpw_ndarray)( n, X, strideX, ix ) + API_SUFFIX(stdlib_strided_snansumpw_ndarray)( N-n, X, strideX, ix+(n*strideX) );
153153
}

lib/node_modules/@stdlib/blas/ext/base/ssumpw/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ float API_SUFFIX(stdlib_strided_ssumpw_ndarray)( const CBLAS_INT N, const float
128128
// Recurse by dividing by two, but avoiding non-multiples of unroll factor...
129129
n = N / 2;
130130
n -= n % 8;
131-
return stdlib_strided_ssumpw_ndarray( n, X, strideX, ix ) + stdlib_strided_ssumpw_ndarray( N-n, X, strideX, ix+(n*strideX) );
131+
return API_SUFFIX(stdlib_strided_ssumpw_ndarray)( n, X, strideX, ix ) + API_SUFFIX(stdlib_strided_ssumpw_ndarray)( N-n, X, strideX, ix+(n*strideX) );
132132
}

lib/node_modules/@stdlib/complex/float32/base/assert/is-almost-equal/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ tape( 'the function returns `false` if provided `NaN` as either real or imaginar
5555
t.end();
5656
});
5757

58-
tape( 'the function returns `true` if provided two complex single-precision floating-point numbers which are the same value irrespective of the specified number of ULPs', function test( t ) {
58+
tape( 'the function returns `true` if provided two single-precision complex floating-point numbers which are the same value irrespective of the specified number of ULPs', function test( t ) {
5959
var z1;
6060
var z2;
6161

@@ -77,7 +77,7 @@ tape( 'the function returns `true` if provided two complex single-precision floa
7777
t.end();
7878
});
7979

80-
tape( 'the function returns `true` if provided two complex single-precision floating-point numbers which are approximately equal within a specified number of ULPs', function test( t ) {
80+
tape( 'the function returns `true` if provided two single-precision complex floating-point numbers which are approximately equal within a specified number of ULPs', function test( t ) {
8181
var z1;
8282
var z2;
8383

@@ -93,7 +93,7 @@ tape( 'the function returns `true` if provided two complex single-precision floa
9393
t.end();
9494
});
9595

96-
tape( 'the function returns `false` if provided two complex single-precision floating-point numbers which are not approximately equal within a specified number of ULPs', function test( t ) {
96+
tape( 'the function returns `false` if provided two single-precision complex floating-point numbers which are not approximately equal within a specified number of ULPs', function test( t ) {
9797
var z1;
9898
var z2;
9999

lib/node_modules/@stdlib/complex/float32/base/assert/is-almost-same-value/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ tape( 'the function treats `NaNs` as the same value', function test( t ) {
5555
t.end();
5656
});
5757

58-
tape( 'the function returns `true` if provided two complex single-precision floating-point numbers which are the same value irrespective of the specified number of ULPs', function test( t ) {
58+
tape( 'the function returns `true` if provided two single-precision complex floating-point numbers which are the same value irrespective of the specified number of ULPs', function test( t ) {
5959
var z1;
6060
var z2;
6161

@@ -77,7 +77,7 @@ tape( 'the function returns `true` if provided two complex single-precision floa
7777
t.end();
7878
});
7979

80-
tape( 'the function returns `true` if provided two complex single-precision floating-point numbers which are approximately the same value within a specified number of ULPs', function test( t ) {
80+
tape( 'the function returns `true` if provided two single-precision complex floating-point numbers which are approximately the same value within a specified number of ULPs', function test( t ) {
8181
var z1;
8282
var z2;
8383

@@ -93,7 +93,7 @@ tape( 'the function returns `true` if provided two complex single-precision floa
9393
t.end();
9494
});
9595

96-
tape( 'the function returns `false` if provided two complex single-precision floating-point numbers which are not approximately the same value within a specified number of ULPs', function test( t ) {
96+
tape( 'the function returns `false` if provided two single-precision complex floating-point numbers which are not approximately the same value within a specified number of ULPs', function test( t ) {
9797
var z1;
9898
var z2;
9999

lib/node_modules/@stdlib/complex/float64/base/assert/is-almost-equal/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ tape( 'the function returns `false` if provided `NaN` as either real or imaginar
5555
t.end();
5656
});
5757

58-
tape( 'the function returns `true` if provided two complex double-precision floating-point numbers which are the same value irrespective of the specified number of ULPs', function test( t ) {
58+
tape( 'the function returns `true` if provided two double-precision complex floating-point numbers which are the same value irrespective of the specified number of ULPs', function test( t ) {
5959
var z1;
6060
var z2;
6161

@@ -77,7 +77,7 @@ tape( 'the function returns `true` if provided two complex double-precision floa
7777
t.end();
7878
});
7979

80-
tape( 'the function returns `true` if provided two complex double-precision floating-point numbers which are approximately equal within a specified number of ULPs', function test( t ) {
80+
tape( 'the function returns `true` if provided two double-precision complex floating-point numbers which are approximately equal within a specified number of ULPs', function test( t ) {
8181
var z1;
8282
var z2;
8383

@@ -93,7 +93,7 @@ tape( 'the function returns `true` if provided two complex double-precision floa
9393
t.end();
9494
});
9595

96-
tape( 'the function returns `false` if provided two complex double-precision floating-point numbers which are not approximately equal within a specified number of ULPs', function test( t ) {
96+
tape( 'the function returns `false` if provided two double-precision complex floating-point numbers which are not approximately equal within a specified number of ULPs', function test( t ) {
9797
var z1;
9898
var z2;
9999

lib/node_modules/@stdlib/complex/float64/base/assert/is-almost-same-value/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ tape( 'the function treats `NaNs` as the same value', function test( t ) {
5555
t.end();
5656
});
5757

58-
tape( 'the function returns `true` if provided two complex double-precision floating-point numbers which are the same value irrespective of the specified number of ULPs', function test( t ) {
58+
tape( 'the function returns `true` if provided two double-precision complex floating-point numbers which are the same value irrespective of the specified number of ULPs', function test( t ) {
5959
var z1;
6060
var z2;
6161

@@ -77,7 +77,7 @@ tape( 'the function returns `true` if provided two complex double-precision floa
7777
t.end();
7878
});
7979

80-
tape( 'the function returns `true` if provided two complex double-precision floating-point numbers which are approximately the same value within a specified number of ULPs', function test( t ) {
80+
tape( 'the function returns `true` if provided two double-precision complex floating-point numbers which are approximately the same value within a specified number of ULPs', function test( t ) {
8181
var z1;
8282
var z2;
8383

@@ -93,7 +93,7 @@ tape( 'the function returns `true` if provided two complex double-precision floa
9393
t.end();
9494
});
9595

96-
tape( 'the function returns `false` if provided two complex double-precision floating-point numbers which are not approximately the same value within a specified number of ULPs', function test( t ) {
96+
tape( 'the function returns `false` if provided two double-precision complex floating-point numbers which are not approximately the same value within a specified number of ULPs', function test( t ) {
9797
var z1;
9898
var z2;
9999

lib/node_modules/@stdlib/stats/strided/dsempn/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ double API_SUFFIX(stdlib_strided_dsempn)( const CBLAS_INT N, const double correc
4747
* @return output value
4848
*/
4949
double API_SUFFIX(stdlib_strided_dsempn_ndarray)( const CBLAS_INT N, const double correction, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
50-
return stdlib_base_sqrt( stdlib_strided_dvariancepn_ndarray( N, correction, X, strideX, offsetX ) / (double)N );
50+
return stdlib_base_sqrt( API_SUFFIX(stdlib_strided_dvariancepn_ndarray)( N, correction, X, strideX, offsetX ) / (double)N );
5151
}

lib/node_modules/@stdlib/stats/strided/dsmeanpn/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ double API_SUFFIX(stdlib_strided_dsmeanpn_ndarray)( const CBLAS_INT N, const flo
6767
dN = (double)N;
6868

6969
// Compute an estimate for the mean:
70-
mu = stdlib_strided_dssum_ndarray( N, X, strideX, offsetX );
70+
mu = API_SUFFIX(stdlib_strided_dssum_ndarray)( N, X, strideX, offsetX );
7171
mu /= dN;
7272

7373
// Compute an error term:
74-
c = stdlib_strided_dsapxsum_ndarray( N, -mu, X, strideX, offsetX );
74+
c = API_SUFFIX(stdlib_strided_dsapxsum_ndarray)( N, -mu, X, strideX, offsetX );
7575
c /= dN;
7676

7777
return mu + c;

lib/node_modules/@stdlib/stats/strided/dsvariancepn/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ double API_SUFFIX(stdlib_strided_dsvariancepn_ndarray)( const CBLAS_INT N, const
7373
return 0.0;
7474
}
7575
// Compute an estimate for the mean:
76-
mu = stdlib_strided_dssum_ndarray( N, X, strideX, offsetX ) / dN;
76+
mu = API_SUFFIX(stdlib_strided_dssum_ndarray)( N, X, strideX, offsetX ) / dN;
7777

7878
// Compute the variance...
7979
ix = offsetX;

lib/node_modules/@stdlib/stats/strided/dztest/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void API_SUFFIX(stdlib_strided_dztest_ndarray)( const CBLAS_INT N, const enum ST
9898
stderr = sigma / stdlib_base_sqrt( (double)N );
9999

100100
// Compute the arithmetic mean of the input array:
101-
xmean = stdlib_strided_dmean_ndarray( N, X, strideX, offsetX );
101+
xmean = API_SUFFIX(stdlib_strided_dmean_ndarray)( N, X, strideX, offsetX );
102102

103103
// Compute the test statistic (i.e., the z-score, which is the distance of the sample mean from the population mean in units of standard error):
104104
stat = ( xmean - mu ) / stderr;

0 commit comments

Comments
 (0)