Skip to content

Commit 12ad1ff

Browse files
Apply suggestion from @Planeshifter
Co-authored-by: Philipp Burckhardt <[email protected]> Signed-off-by: Lokesh Ranjan <[email protected]>
1 parent db7b2d7 commit 12ad1ff

File tree

1 file changed

+1
-25
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/signrank/pdf/src

1 file changed

+1
-25
lines changed

lib/node_modules/@stdlib/stats/base/dists/signrank/pdf/src/main.c

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,8 @@ static double weights( double x, const int32_t n ) {
5656
* @returns {Probability} evaluated PDF
5757
*
5858
* @example
59-
* var y = pdf( 7.0, 9 );
59+
* double y = stdlib_base_dists_signrank_pdf( 7.0, 9 );
6060
* // returns ~0.01
61-
*
62-
* @example
63-
* var y = pdf( 7.0, 6 );
64-
* // returns ~0.063
65-
*
66-
* @example
67-
* var y = pdf( -1.0, 40 );
68-
* // returns 0.0
69-
*
70-
* @example
71-
* var y = pdf( NaN, 10 );
72-
* // returns NaN
73-
*
74-
* @example
75-
* var y = pdf( 0.0, NaN );
76-
* // returns NaN
77-
*
78-
* @example
79-
* var y = pdf( 2.0, -1 );
80-
* // returns NaN
81-
*
82-
* @example
83-
* var y = pdf( 2.0, 1.8 );
84-
* // returns NaN
8561
*/
8662
double stdlib_base_dists_signrank_pdf( const double x, const int32_t n ) {
8763
double mlim;

0 commit comments

Comments
 (0)