Skip to content

Commit a2c4ded

Browse files
committed
feat: initial changes
1 parent 861cd7f commit a2c4ded

File tree

1 file changed

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

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef STDLIB_STATS_BASE_DVARIANCECH_H
2020
#define STDLIB_STATS_BASE_DVARIANCECH_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 variance of a double-precision floating-point strided array using a one-pass trial mean algorithm.
3333
*/
34-
double stdlib_strided_dvariancech( const int64_t N, const double correction, const double *X, const int64_t stride );
34+
double API_SUFFIX(stdlib_strided_dvariancech)( const CBLAS_INT N, const double correction, const double *X, const CBLAS_INT strideX );
35+
36+
/**
37+
* Computes the variance of a double-precision floating-point strided array using a one-pass trial mean algorithm and alternative indexing semantics.
38+
*/
39+
double API_SUFFIX(stdlib_strided_dvariancech_ndarray)( const CBLAS_INT N, const double correction, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
3540

3641
#ifdef __cplusplus
3742
}

0 commit comments

Comments
 (0)