Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/node_modules/@stdlib/stats/base/dists/cauchy/cdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ for ( i = 0; i < 10; i++ ) {
Evaluates the [cumulative distribution function][cdf] (CDF) for a [Cauchy][cauchy-distribution] distribution with parameters `x0` (location parameter) and `gamma > 0` (scale parameter).

```c
double out = stdlib_base_dists_cauchy_cdf( 0.5, 0.0, 2.0 );
// returns ~0.333
double out = stdlib_base_dists_cauchy_cdf( 4.0, 0.0, 2.0 );
// returns ~0.852
```

The function accepts the following arguments:
Expand Down Expand Up @@ -213,11 +213,11 @@ static double random_uniform( const double min, const double max ) {
}

int main( void ) {
double gamma;
int i;
double x;
double x0;
double y;
int i;
double x0;
double gamma;

for ( i = 0; i < 25; i++ ) {
x = random_uniform( 0.0, 10.0 );
Expand Down