Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use correct function name in math/base/special/gamma-lanczos-sum-expg-scaled/README.md #2580

Merged
merged 4 commits into from
Jul 13, 2024
Merged
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 @@ -142,15 +142,15 @@ for ( i = 0; i < x.length; i++ ) {
#include "stdlib/math/base/special/gamma_lanczos_sum_expg_scaled.h"
```

#### gamma_lanczos_sum_expg_scaled( x )
#### stdlib_base_gamma_lanczos_sum_expg_scaled( x )

Calculates the Lanczos sum for the approximation of the [gamma function][gamma-function] (scaled by `exp(-g)`, where `g = 10.900511`).

```c
double out = gamma_lanczos_sum_expg_scaled( 4.0 );
double out = stdlib_base_gamma_lanczos_sum_expg_scaled( 4.0 );
// returns ~0.018

out = gamma_lanczos_sum_expg_scaled( -1.5 );
out = stdlib_base_gamma_lanczos_sum_expg_scaled( -1.5 );
// returns ~25.337
```

Expand All @@ -159,7 +159,7 @@ The function accepts the following arguments:
- **x**: `[in] double` input value.

```c
double gamma_lanczos_sum_expg_scaled( const double x );
double stdlib_base_gamma_lanczos_sum_expg_scaled( const double x );
```

</section>
Expand Down
Loading