Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ logEachMap( 'x: %0.4f, μ: %0.4f, σ: %0.4f, ln(F(x;μ,σ)): %0.4f', x, mu, sigm

#### stdlib_base_dists_lognormal_logcdf( x, mu, sigma )

Evaluates the natural logarithm of the [cumulative distribution function][cdf] (CDF) for a [lognormal][lognormal-distribution] distribution with mean `mu` and standard deviation `sigma` at a value `x`.
Evaluates the natural logarithm of the [cumulative distribution function][cdf] (CDF) for a [lognormal][lognormal-distribution] distribution with location parameter `mu` and scale parameter `sigma` at a value `x`.

```c
double y = stdlib_base_dists_lognormal_logcdf( 2.0, 0.0, 1.0 );
Expand All @@ -162,8 +162,8 @@ double y = stdlib_base_dists_lognormal_logcdf( 2.0, 0.0, 1.0 );
The function accepts the following arguments:

- **x**: `[in] double` input value.
- **mu**: `[in] double` mean.
- **sigma**: `[in] double` standard deviation.
- **mu**: `[in] double` location parameter.
- **sigma**: `[in] double` scale parameter.

```c
double stdlib_base_dists_lognormal_logcdf( const double x, const double mu, const double sigma );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extern "C" {
#endif

/**
* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a lognormal distribution with mean `mu` and standard deviation `sigma` at a value `x`.
* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a lognormal distribution with location parameter `mu` and scale parameter `sigma` at a value `x`.
*/
double stdlib_base_dists_lognormal_logcdf( const double x, const double mu, const double sigma );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
static const double INV_SQRT_TWO = 0.7071067811865475; // 1/sqrt(2)

/**
* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a lognormal distribution with mean `mu` and standard deviation `sigma` at a value `x`.
* Evaluates the natural logarithm of the cumulative distribution function (CDF) for a lognormal distribution with location parameter `mu` and scale parameter `sigma` at a value `x`.
*
* @param x input value
* @param mu mean
* @param sigma standard deviation
* @param mu location parameter
* @param sigma scale parameter
* @return evaluated logCDF
*
* @example
Expand Down
Loading