Skip to content

Commit e54c10d

Browse files
authored
chore: apply suggestions from code review
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 69d59df commit e54c10d

File tree

3 files changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/frechet/logcdf

3 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/frechet/logcdf/include/stdlib/stats/base/dists/frechet/logcdf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Returns the logcdf for a Fréchet distribution with input `x`, shape `alpha`, scale `s`, and location `m`.
30+
* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a Fréchet distribution with shape `alpha`, scale `s`, and location `m` at a value `x`.
3131
*/
3232
double stdlib_base_dists_frechet_logcdf( const double x, const double alpha, const double s, const double m );
3333

lib/node_modules/@stdlib/stats/base/dists/frechet/logcdf/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
2626
// MAIN //
2727

2828
/**
29-
* Returns the logcdf for a Fréchet distribution with inpute `x`, shape `alpha`, scale `s`, and location `m`.
29+
* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a Fréchet distribution with shape `alpha`, scale `s`, and location `m` at a value `x`.
3030
*
3131
* @private
3232
* @param {number} x - input value

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
#include "stdlib/constants/float64/ninf.h"
2323

2424
/**
25-
* Returns the logcdf for a Fréchet distribution with input `x`, shape `alpha`, scale `s`, and location `m`.
25+
* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a Fréchet distribution with shape `alpha`, scale `s`, and location `m` at a value `x`.
2626
*
2727
* @param x input value
2828
* @param alpha shape parameter
2929
* @param s scale parameter
3030
* @param m location parameter
31-
* @return logcdf
31+
* @return evaluated logCDF
3232
*
3333
* @example
3434
* double y = stdlib_base_dists_frechet_logcdf( 10.0, 2.0, 3.0, 2.0 );

0 commit comments

Comments
 (0)