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++ ) {
152152#include " stdlib/stats/base/dists/signrank/pdf.h"
153153```
154154
155- #### stdlib_base_dists_signrank_cdf ( x, n )
155+ #### stdlib_base_dists_signrank_pdf ( x, n )
156156
157157Evaluates the probability density function (PDF) of the Wilcoxon signed rank test statistic with ` n ` observations.
158158
@@ -167,7 +167,7 @@ The function accepts the following arguments:
167167- ** n** : ` [in] double ` number of observations.
168168
169169``` 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 );
171171```
172172
173173</section>
Original file line number Diff line number Diff line change 11/**
22* @license Apache-2.0
33*
4- * Copyright (c) 2024 The Stdlib Authors.
4+ * Copyright (c) 2025 The Stdlib Authors.
55*
66* Licensed under the Apache License, Version 2.0 (the "License");
77* you may not use this file except in compliance with the License.
@@ -101,8 +101,8 @@ static double benchmark( void ) {
101101 int i ;
102102
103103 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 ));
106106 }
107107
108108 t = tic ();
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ extern "C" {
2727#endif
2828
2929/**
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.
3131*/
3232double stdlib_base_dists_signrank_pdf ( double x , const double n );
3333
You can’t perform that action at this time.
0 commit comments