From a0c1fc412ba52e8a08951c4858e30660f24d2f3f Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Sat, 13 Jul 2024 10:55:51 +0530 Subject: [PATCH 1/3] docs: update boost version in math/base/special/digamma --- lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js | 2 +- lib/node_modules/@stdlib/math/base/special/digamma/src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js b/lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js index c847a65e8fc0..8dd7c1d8f52d 100644 --- a/lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js @@ -18,7 +18,7 @@ * * ## Notice * -* The original C++ code and copyright notice are from the [Boost library]{@link http://www.boost.org/doc/libs/1_53_0/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/digamma.html}. The implementation follows the original but has been modified for JavaScript. +* The original C++ code and copyright notice are from the [Boost library]{@link https://www.boost.org/doc/libs/1_85_0/boost/math/special_functions/digamma.hpp}. The implementation follows the original but has been modified for JavaScript. * * ```text * (C) Copyright John Maddock 2006. diff --git a/lib/node_modules/@stdlib/math/base/special/digamma/src/main.c b/lib/node_modules/@stdlib/math/base/special/digamma/src/main.c index bd1ed84759f6..54049b38d317 100644 --- a/lib/node_modules/@stdlib/math/base/special/digamma/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/digamma/src/main.c @@ -18,7 +18,7 @@ * * ## Notice * -* The original C++ code and copyright notice are from the [Boost library]{@link http://www.boost.org/doc/libs/1_53_0/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/digamma.html}. The implementation follows the original but has been modified for JavaScript. +* The original C++ code and copyright notice are from the [Boost library]{@link https://www.boost.org/doc/libs/1_85_0/boost/math/special_functions/digamma.hpp}. The implementation follows the original but has been modified for JavaScript. * * ```text * (C) Copyright John Maddock 2006. From 2b9a7bcfabd4cb809b4b4041ead9b0a817dc0084 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Sat, 13 Jul 2024 10:58:46 +0530 Subject: [PATCH 2/3] Revert "docs: update boost version in math/base/special/digamma" This reverts commit a0c1fc412ba52e8a08951c4858e30660f24d2f3f. --- lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js | 2 +- lib/node_modules/@stdlib/math/base/special/digamma/src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js b/lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js index 8dd7c1d8f52d..c847a65e8fc0 100644 --- a/lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/digamma/lib/main.js @@ -18,7 +18,7 @@ * * ## Notice * -* The original C++ code and copyright notice are from the [Boost library]{@link https://www.boost.org/doc/libs/1_85_0/boost/math/special_functions/digamma.hpp}. The implementation follows the original but has been modified for JavaScript. +* The original C++ code and copyright notice are from the [Boost library]{@link http://www.boost.org/doc/libs/1_53_0/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/digamma.html}. The implementation follows the original but has been modified for JavaScript. * * ```text * (C) Copyright John Maddock 2006. diff --git a/lib/node_modules/@stdlib/math/base/special/digamma/src/main.c b/lib/node_modules/@stdlib/math/base/special/digamma/src/main.c index 54049b38d317..bd1ed84759f6 100644 --- a/lib/node_modules/@stdlib/math/base/special/digamma/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/digamma/src/main.c @@ -18,7 +18,7 @@ * * ## Notice * -* The original C++ code and copyright notice are from the [Boost library]{@link https://www.boost.org/doc/libs/1_85_0/boost/math/special_functions/digamma.hpp}. The implementation follows the original but has been modified for JavaScript. +* The original C++ code and copyright notice are from the [Boost library]{@link http://www.boost.org/doc/libs/1_53_0/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/digamma.html}. The implementation follows the original but has been modified for JavaScript. * * ```text * (C) Copyright John Maddock 2006. From fed8022e0631d8f79533696b237236c2f8a82c10 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Sat, 13 Jul 2024 12:06:38 +0530 Subject: [PATCH 3/3] Update README.md Signed-off-by: GUNJ JOSHI --- .../base/special/gamma-lanczos-sum-expg-scaled/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaled/README.md b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaled/README.md index eab2628500ae..44f0efdbac76 100644 --- a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaled/README.md +++ b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaled/README.md @@ -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 ``` @@ -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 ); ```