2323/** 
2424* Computes the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm. 
2525* 
26- * @param N        number of indexed elements 
27- * @param X        input array 
28- * @param strideX  stride length 
29- * @return         output value 
30- */ 
31- double  API_SUFFIX (stdlib_strided_dmeanwd )( const  CBLAS_INT  N , const  double  * X , const  CBLAS_INT  strideX  ) {
32- 	const  CBLAS_INT  ox  =  stdlib_strided_stride2offset ( N , strideX  );
33- 	return  API_SUFFIX (stdlib_strided_dmeanwd_ndarray )( N , X , strideX , ox  );
34- }
35- 
36- /** 
37- * Computes the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm and alternative indexing semantics. 
38- * 
3926* ## Method 
4027* 
4128* -   This implementation uses Welford's algorithm for efficient computation, which can be derived as follows 
@@ -57,6 +44,19 @@ double API_SUFFIX(stdlib_strided_dmeanwd)( const CBLAS_INT N, const double *X, c
5744* @param N        number of indexed elements 
5845* @param X        input array 
5946* @param strideX  stride length 
47+ * @return         output value 
48+ */ 
49+ double  API_SUFFIX (stdlib_strided_dmeanwd )( const  CBLAS_INT  N , const  double  * X , const  CBLAS_INT  strideX  ) {
50+ 	const  CBLAS_INT  ox  =  stdlib_strided_stride2offset ( N , strideX  );
51+ 	return  API_SUFFIX (stdlib_strided_dmeanwd_ndarray )( N , X , strideX , ox  );
52+ }
53+ 
54+ /** 
55+ * Computes the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm and alternative indexing semantics. 
56+ * 
57+ * @param N        number of indexed elements 
58+ * @param X        input array 
59+ * @param strideX  stride length 
6060* @param offsetX  starting index for X 
6161* @return         output value 
6262*/ 
0 commit comments