Skip to content

Commit dd06521

Browse files
authored
Update README.md
Signed-off-by: yuvi-mittal <[email protected]>
1 parent 2c968e0 commit dd06521

File tree

1 file changed

+3
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/planck/variance

1 file changed

+3
-1
lines changed

lib/node_modules/@stdlib/stats/base/dists/planck/variance/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ for ( i = 0; i < lambda.length; i++ ) {
148148

149149
#### stdlib_base_dists_planck_variance( lambda )
150150

151-
Returns the variance for planck distribution with shape parameter `λ`.
151+
Returns the [variance][variance] of a Planck distribution with shape parameter `λ`.
152152

153153
```c
154154
double out = stdlib_base_dists_planck_variance( 0.1 );
@@ -185,10 +185,12 @@ double stdlib_base_dists_planck_variance( const double lambda );
185185
#include "stdlib/stats/base/dists/planck/variance.h"
186186
#include <stdlib.h>
187187
#include <stdio.h>
188+
188189
static double random_uniform( const double min, const double max ) {
189190
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
190191
return min + ( v*(max-min) );
191192
}
193+
192194
int main( void ) {
193195
double lambda;
194196
double y;

0 commit comments

Comments
 (0)