Skip to content

Commit aff2874

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

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,16 +165,16 @@ for ( i = 0; i < 10; i++ ) {
165165
### Usage
166166

167167
```c
168-
#include "stdlib/stats/base/dists/arcsine/cdf.h"
168+
#include "stdlib/stats/base/dists/t/logpdf.h"
169169
```
170170

171-
#### stdlib_base_dists_arcsine_cdf( x, a, b )
171+
#### stdlib_base_dists_t_logpdf( x, a, b )
172172

173173
Evaluates the natural logarithm of the [PDF][pdf] for a [Student's t][t-distribution] distribution with degree of freedom `v`.
174174

175175
```c
176176
double out = stdlib_base_dists_t_logpdf( 0.5, 1.0 );
177-
// returns ~-1.3678734371636097
177+
// returns ~-1.368
178178
```
179179

180180
The function accepts the following arguments:

lib/node_modules/@stdlib/stats/base/dists/t/logpdf/include/stdlib/stats/base/dists/t/logpdf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Evaluates the log probability density function (logPDF) for a t-distribution with degrees of freedom `v` at a value `x`.
30+
* Evaluates the log probability density function (logPDF) for a Student's t distribution with degrees of freedom `v` at a value `x`.
3131
*/
3232
double stdlib_base_dists_t_logpdf( const double x, const double v );
3333

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
2626
// MAIN //
2727

2828
/**
29-
* Evaluates the log probability density function (logPDF) for a t-distribution with degrees of freedom `v` at a value `x`.
29+
* Evaluates the log probability density function (logPDF) for a Student's t distribution with degrees of freedom `v` at a value `x`.
3030
*
3131
* @private
3232
* @param {number} x - input value

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "stdlib/stats/base/dists/t/logpdf.h"
2525

2626
/**
27-
* Evaluates the log probability density function (logPDF) for a t-distribution with degrees of freedom `v` at a value `x`.
27+
* Evaluates the log probability density function (logPDF) for a Student's t distribution with degrees of freedom `v` at a value `x`.
2828
*
2929
* @param x input value
3030
* @param v degrees of freedom

0 commit comments

Comments
 (0)