File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
lib/node_modules/@stdlib/stats/base/dists/signrank/pdf
include/stdlib/stats/base/dists/signrank Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ for ( i = 0; i < 10; i++ ) {
152
152
#include " stdlib/stats/base/dists/signrank/pdf.h"
153
153
```
154
154
155
- #### stdlib_base_dists_signrank_cdf ( x, n )
155
+ #### stdlib_base_dists_signrank_pdf ( x, n )
156
156
157
157
Evaluates the probability density function (PDF) of the Wilcoxon signed rank test statistic with ` n ` observations.
158
158
@@ -167,7 +167,7 @@ The function accepts the following arguments:
167
167
- ** n** : ` [in] double ` number of observations.
168
168
169
169
``` c
170
- double stdlib_base_dists_signrank_cdf ( double x, const double n );
170
+ double stdlib_base_dists_signrank_pdf ( double x, const double n );
171
171
```
172
172
173
173
</section>
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license Apache-2.0
3
3
*
4
- * Copyright (c) 2024 The Stdlib Authors.
4
+ * Copyright (c) 2025 The Stdlib Authors.
5
5
*
6
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
7
* you may not use this file except in compliance with the License.
@@ -101,8 +101,8 @@ static double benchmark( void ) {
101
101
int i ;
102
102
103
103
for ( i = 0 ; i < 100 ; i ++ ) {
104
- x [ i ] = random_uniform ( 0 , 30.0 );
105
- n [ i ] = stdlib_base_ceil (random_uniform ( 1 , 30.0 ));
104
+ x [ i ] = random_uniform ( 0.0 , 30.0 );
105
+ n [ i ] = stdlib_base_ceil (random_uniform ( 1.0 , 30.0 ));
106
106
}
107
107
108
108
t = tic ();
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ extern "C" {
27
27
#endif
28
28
29
29
/**
30
- * Evaluates the cumulative distribution function (PDF) of the Wilcoxon signed rank test statistic with `n` observations.
30
+ * Evaluates the probability density function (PDF) of the Wilcoxon signed rank test statistic with `n` observations.
31
31
*/
32
32
double stdlib_base_dists_signrank_pdf ( double x , const double n );
33
33
You can’t perform that action at this time.
0 commit comments