Skip to content

Commit b256380

Browse files
chore: update markdown description
1 parent 775fdb7 commit b256380

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/bernoulli/cdf

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/bernoulli/cdf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ for ( i = 0; i < 10; i++ ) {
157157

158158
#### stdlib_base_dists_bernoulli_cdf( x, p )
159159

160-
Evaluates the cumulative distribution function (CDF) for a Bernoulli distribution with success probability `p`.
160+
Returns a function for evaluating the [cumulative distribution function][cdf] of a [Bernoulli][bernoulli-distribution] distribution with success probability `p`
161161

162162
```c
163163
double y = stdlib_base_dists_bernoulli_cdf( 0.5, 0.5 );
@@ -211,7 +211,7 @@ int main( void ) {
211211
x = random_uniform( 0.0, 5.0 );
212212
p = random_uniform( 0.0, 1.0 );
213213
y = stdlib_base_dists_bernoulli_cdf( x, p );
214-
printf( "x: %lf. p: %lf. F(X;p): %lf\n", x, p, y );
214+
printf( "x: %lf, p: %lf, F(X;p): %lf\n", x, p, y );
215215
}
216216
}
217217
```

0 commit comments

Comments
 (0)