Skip to content

Commit 033a90d

Browse files
authored
chore: apply suggestions from code review
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent be31ebc commit 033a90d

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/logpdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ int main( void ) {
259259
a = random_uniform( 0, 5.0 );
260260
b = random_uniform( 0, 5.0 );
261261
y = stdlib_base_dists_kumaraswamy_logpdf( x, a, b );
262-
printf( "x: %lf, a: %lf, b: %lf, F(x;a,b): %lf\n", x, a, b, y );
262+
printf( "x: %lf, a: %lf, b: %lf, ln(f(x;a,b)): %lf\n", x, a, b, y );
263263
}
264264
}
265265
```

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/logpdf/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ int main( void ) {
3737
a = random_uniform( 0.0, 5.0 );
3838
b = random_uniform( 0.0, 5.0 );
3939
y = stdlib_base_dists_kumaraswamy_logpdf( x, a, b );
40-
printf( "x: %lf, a: %lf, b: %lf, F(x;a,b): %lf\n", x, a, b, y );
40+
printf( "x: %lf, a: %lf, b: %lf, ln(f(x;a,b)): %lf\n", x, a, b, y );
4141
}
4242
}

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/logpdf/lib/native.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var addon = require( './../src/addon.node' );
2828
/**
2929
* Evaluates the natural logarithm of the probability density function (PDF) for a Kumaraswamy's double bounded distribution with first shape parameter `a` and second shape parameter `b` at a value `x`.
3030
*
31+
* @private
3132
* @param {number} x - input value
3233
* @param {PositiveNumber} a - first shape parameter
3334
* @param {PositiveNumber} b - second shape parameter

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/logpdf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @param x input value
2929
* @param a first shape parameter
3030
* @param b second shape parameter
31-
* @return evaluated logCDF
31+
* @return evaluated logPDF
3232
*
3333
* @example
3434
* double y = stdlib_base_kumaraswamy_logpdf( 0.5, 1.0, 1.0 );

0 commit comments

Comments
 (0)