Skip to content

Commit dcb1fea

Browse files
committed
.
1 parent befe02c commit dcb1fea

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

lib/node_modules/@stdlib/stats/base/dists/geometric/logpmf/README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ for ( i = 0; i < 10; i++ ) {
141141

142142
</section>
143143

144-
<!-- /.examples -->
145-
146-
<!-- Section to include cited references. If references are included, add a horizontal rule *before* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
147-
148144
<section class="references">
149145

150146
<!-- C interface documentation. -->
@@ -155,6 +151,7 @@ for ( i = 0; i < 10; i++ ) {
155151

156152
## C APIs
157153

154+
</section>
158155
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
159156

160157
<section class="intro">
@@ -210,11 +207,7 @@ double stdlib_base_dists_geometric_logpmf( const double x, const double p );
210207
### Examples
211208
212209
```c
213-
#include "stdlib/stats/base/dists/geometric/logpmf.h"
214-
#include "stdlib/math/base/special/round.h"
215-
#include <stdlib.h>
216-
#include <stdio.h>
217-
#include <math.h>
210+
218211
219212
static double random_uniform( const double min, const double max ) {
220213
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
@@ -237,7 +230,9 @@ int main( void ) {
237230
```
238231

239232
</section>
233+
<!-- /.examples -->
240234

235+
<!-- Section to include cited references. If references are included, add a horizontal rule *before* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
241236
<!-- /.references -->
242237

243238
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->

lib/node_modules/@stdlib/stats/base/dists/geometric/logpmf/examples/c/example.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717
*/
1818

1919
#include "stdlib/stats/base/dists/geometric/logpmf.h"
20-
#include "stdlib/math/base/special/round.h"
21-
#include <stdlib.h>
22-
#include <stdio.h>
23-
#include <math.h>
20+
2421

2522
static double random_uniform( const double min, const double max ) {
2623
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );

lib/node_modules/@stdlib/stats/base/dists/geometric/logpmf/src/main.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@
1818

1919
#include "stdlib/stats/base/dists/geometric/logpmf.h"
2020
#include "stdlib/math/base/assert/is_nonnegative_integer.h"
21-
#include "stdlib/math/base/assert/is_nan.h"
22-
#include "stdlib/math/base/special/ln.h"
23-
#include "stdlib/constants/float64/ninf.h"
24-
#include <math.h>
21+
2522

2623
/**
2724
* Evaluates the logarithm of the probability mass function (PMF) for a geometric distribution with success probability `p` at a value `x`.

0 commit comments

Comments
 (0)