Skip to content

Commit 7c35d7e

Browse files
authored
docs: add empty lines
1 parent ef748b7 commit 7c35d7e

File tree

1 file changed

+12
-0
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/weibull/mode

1 file changed

+12
-0
lines changed

lib/node_modules/@stdlib/stats/base/dists/weibull/mode/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,28 +193,40 @@ double stdlib_base_dists_weibull_mode( const double k, const double λ );
193193
```
194194
195195
</section>
196+
196197
<!-- /.usage -->
198+
197199
<!-- C API usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
200+
198201
<section class="notes">
202+
199203
</section>
204+
200205
<!-- /.notes -->
206+
201207
<!-- C API usage examples. -->
208+
202209
<section class="examples">
210+
203211
### Examples
212+
204213
```c
205214
#include "stdlib/stats/base/dists/weibull/mode.h"
206215
#include "stdlib/constants/float64/eps.h"
207216
#include <stdlib.h>
208217
#include <stdio.h>
218+
209219
static double random_uniform( const double min, const double max ) {
210220
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
211221
return min + ( v*(max-min) );
212222
}
223+
213224
int main( void ) {
214225
double lambda;
215226
double k;
216227
double y;
217228
int i;
229+
218230
for ( i = 0; i < 25; i++ ) {
219231
k = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 10.0 );
220232
lambda = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 10.0 );

0 commit comments

Comments
 (0)