File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
lib/node_modules/@stdlib/stats/base/dists/planck/variance Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff 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
154154double 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+
188189static 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+
192194int main( void ) {
193195 double lambda;
194196 double y;
You can’t perform that action at this time.
0 commit comments