Skip to content

Commit b4cde28

Browse files
authored
docs: fix function name
PR-URL: #2580 Reviewed-by: Athan Reines <kgryte@gmail.com> Signed-off-by: GUNJ JOSHI <gunjjoshi8372@gmail.com>
1 parent 21052a2 commit b4cde28

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaled

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaled/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@ for ( i = 0; i < x.length; i++ ) {
142142
#include "stdlib/math/base/special/gamma_lanczos_sum_expg_scaled.h"
143143
```
144144

145-
#### gamma_lanczos_sum_expg_scaled( x )
145+
#### stdlib_base_gamma_lanczos_sum_expg_scaled( x )
146146

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

149149
```c
150-
double out = gamma_lanczos_sum_expg_scaled( 4.0 );
150+
double out = stdlib_base_gamma_lanczos_sum_expg_scaled( 4.0 );
151151
// returns ~0.018
152152

153-
out = gamma_lanczos_sum_expg_scaled( -1.5 );
153+
out = stdlib_base_gamma_lanczos_sum_expg_scaled( -1.5 );
154154
// returns ~25.337
155155
```
156156

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

161161
```c
162-
double gamma_lanczos_sum_expg_scaled( const double x );
162+
double stdlib_base_gamma_lanczos_sum_expg_scaled( const double x );
163163
```
164164
165165
</section>

0 commit comments

Comments
 (0)