Skip to content

Commit a4de37f

Browse files
committed
feat: add reamde file
1 parent f969462 commit a4de37f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • lib/node_modules/@stdlib/stats/base/dists/beta/cdf

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ F(x;\alpha,\beta) = \frac{\mathop{\mathrm{Beta}}(x;\alpha,\beta)}{\mathop{\mathr
3333
```
3434

3535
<!-- <div class="equation" align="center" data-raw-text="F(x;\alpha,\beta) = \frac{\operatorname{Beta}(x;\alpha,\beta)}{\operatorname{Beta}(\alpha,\beta)}" data-equation="eq:beta_cdf">
36-
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@51534079fef45e990850102147e8945fb023d1d0/lib/node_modules/@stdlib/stats/base/dists/beta/cdf/docs/img/equation_beta_cdf.svg" alt="Cumulative distribution function for a beta distribution.">
37-
<br>
36+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@51534079fef45e990850102147e8945fb023d1d0/lib/node_modules/@stdlib/stats/base/dists/beta/cdf/docs/img/equation_beta_cdf.svg" alt="Cumulative distribution function for a beta distribution.">
37+
<br>
3838
</div> -->
3939

4040
<!-- </equation> -->
@@ -147,7 +147,7 @@ var EPS = require( '@stdlib/constants/float64/eps' );
147147
var cdf = require( '@stdlib/stats/base/dists/beta/cdf' );
148148

149149
var opts = {
150-
'dtype': 'float64'
150+
'dtype': 'float64'
151151
};
152152
var alpha = uniform( 10, EPS, 5.0, opts );
153153
var beta = uniform( 10, EPS, 5.0, opts );
@@ -231,18 +231,18 @@ element and another before the `/section` close. -->
231231
#include <stdio.h>
232232
233233
static double random_uniform( const double min, const double max ) {
234-
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
235-
return min + ( v*(max-min) );
234+
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
235+
return min + ( v*(max-min) );
236236
}
237237
238238
int main( void ) {
239-
double alpha;
239+
double alpha;
240240
double beta;
241241
double x;
242242
double y;
243243
int i;
244244
245-
for ( i = 0; i < 10; i++ ) {
245+
for ( i = 0; i < 10; i++ ) {
246246
alpha = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 5.0 );
247247
beta = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 5.0 );
248248
x = random_uniform( 0.0, 1.0 );

0 commit comments

Comments
 (0)