Skip to content

Commit 897795d

Browse files
authored
chore: apply suggestions from code review
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 7356e18 commit 897795d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/node_modules/@stdlib/stats/base/dists/gumbel/logcdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ for ( i = 0; i < 100; i++ ) {
178178

179179
#### stdlib_base_dists_gumbel_logcdf( x, mu, beta )
180180

181-
Evaluates the logarithm of the cumulative distribution function (CDF) for a Gumbel distribution
181+
Evaluates the logarithm of the [cumulative distribution function][cdf] (CDF) for a [Gumbel][gumbel-distribution] distribution with parameters `mu` (location parameter) and `beta` (scale parameter).
182182

183183
```c
184184
double out = stdlib_base_dists_gumbel_logcdf( 10.0, 0.0, 3.0 );

lib/node_modules/@stdlib/stats/base/dists/gumbel/logcdf/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ static double benchmark( void ) {
102102
int i;
103103

104104
for ( i = 0; i < 100; i++ ) {
105-
x[ i ] = random_uniform( -100.0, 0.0);
105+
x[ i ] = random_uniform( -100.0, 0.0 );
106106
mu[ i ] = random_uniform( -50.0, 50.0 );
107-
beta[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, STDLIB_CONSTANT_FLOAT64_EPS + 20.0 );
107+
beta[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 20.0 );
108108
}
109109

110110
t = tic();

lib/node_modules/@stdlib/stats/base/dists/gumbel/logcdf/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* Evaluates the cumulative distribution function (CDF) for a Gumbel distribution with location parameter `mu` and scale parameter `beta` at a value `x`.
2525
*
2626
* @param x input value
27-
* @param mu minimum support
28-
* @param beta location parameter
27+
* @param mu location parameter
28+
* @param beta scale parameter
2929
* @return evaluated logorithm of CDF
3030
*
3131
* @example

0 commit comments

Comments
 (0)