Skip to content

Commit 9517eff

Browse files
committed
feat: initial changes
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 321e287 commit 9517eff

File tree

1 file changed

+7
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dmeanwd/include/stdlib/stats/base

1 file changed

+7
-2
lines changed

lib/node_modules/@stdlib/stats/base/dmeanwd/include/stdlib/stats/base/dmeanwd.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef STDLIB_STATS_BASE_DMEANWD_H
2020
#define STDLIB_STATS_BASE_DMEANWD_H
2121

22-
#include <stdint.h>
22+
#include "stdlib/blas/base/shared.h"
2323

2424
/*
2525
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C compiler.
@@ -31,7 +31,12 @@ extern "C" {
3131
/**
3232
* Computes the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.
3333
*/
34-
double stdlib_strided_dmeanwd( const int64_t N, const double *X, const int64_t stride );
34+
double API_SUFFIX(stdlib_strided_dmeanwd)( const CBLAS_INT N, const double *X, const CBLAS_INT strideX );
35+
36+
/**
37+
* Computes the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm and alternative indexing semantics.
38+
*/
39+
double API_SUFFIX(stdlib_strided_dmeanwd_ndarray)( const CBLAS_INT N, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
3540

3641
#ifdef __cplusplus
3742
}

0 commit comments

Comments
 (0)