We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e3a94 commit cee348aCopy full SHA for cee348a
lib/node_modules/@stdlib/stats/base/dsnanmeanwd/src/addon.c
@@ -36,7 +36,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
36
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
37
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 2 );
38
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, strideX, argv, 1 );
39
- STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dsnanmean( N, X, strideX ), v );
+ STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dsnanmeanwd( N, X, strideX ), v );
40
return v;
41
}
42
@@ -53,7 +53,7 @@ static napi_value addon_method( napi_env env, napi_callback_info info ) {
53
54
STDLIB_NAPI_ARGV_INT64( env, offsetX, argv, 3 );
55
56
- STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dsnanmean_ndarray( N, X, strideX, offsetX ), v );
+ STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dsnanmeanwd_ndarray( N, X, strideX, offsetX ), v );
57
58
59
lib/node_modules/@stdlib/stats/base/dsnanmeanwd/src/main.c
@@ -46,9 +46,9 @@
46
* @param strideX stride length
47
* @return output value
48
*/
49
-double API_SUFFIX(stdlib_strided_dsnanmean)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX ) {
+double API_SUFFIX(stdlib_strided_dsnanmeanwd)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX ) {
50
const CBLAS_INT ox = stdlib_strided_stride2offset( N, strideX );
51
- return API_SUFFIX(stdlib_strided_dsnanmean_ndarray)( N, X, strideX, ox );
+ return API_SUFFIX(stdlib_strided_dsnanmeanwd_ndarray)( N, X, strideX, ox );
52
/**
@@ -60,7 +60,7 @@ double API_SUFFIX(stdlib_strided_dsnanmean)( const CBLAS_INT N, const float *X,
60
* @param offsetX starting index for X
61
62
63
-double API_SUFFIX(stdlib_strided_dsnanmean_ndarray)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
+double API_SUFFIX(stdlib_strided_dsnanmeanwd_ndarray)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
64
CBLAS_INT ix;
65
CBLAS_INT i;
66
CBLAS_INT n;
0 commit comments