From 16e1a2b89875b755769e30f7d680e275c1927ffc Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sun, 9 Nov 2025 08:43:27 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/gamma-lanczos-sum --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../special/gamma-lanczos-sum/package.json | 79 ++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum/package.json b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum/package.json index 57ae696d5839..749e13abbb4f 100644 --- a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum/package.json +++ b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum/package.json @@ -68,5 +68,82 @@ "rational", "factorial", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "gamma-lanczos-sum", + "alias": "gamma-lanczos-sum", + "pkg_desc": "calculate the Lanczos sum for the approximation of the gamma function", + "desc": "calculates the Lanczos sum for the approximation of the gamma function", + "short_desc": "Lanczos approximation", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10, + 10 + ] + }, + "example_values": [ + 1, + 3.5, + 4.5, + -0.5, + 2, + 3, + -3.5, + 0.1, + 4, + 1.5, + 5, + 0.5, + 2.5, + -1.5, + -2.5, + 50, + 100, + -50.5, + -100.5, + 2.2 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "gamma", + "lanczos", + "approx", + "approximation", + "polynomial", + "rational", + "factorial" + ], + "extra_keywords": [] + } + } } From b117b8a5e51845639783300fd5ee47798e6d3231 Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 9 Nov 2025 02:25:02 -0800 Subject: [PATCH 2/2] Apply suggestions from code review Signed-off-by: Athan --- .../math/base/special/gamma-lanczos-sum/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum/package.json b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum/package.json index 749e13abbb4f..b681779d97cb 100644 --- a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum/package.json +++ b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum/package.json @@ -72,11 +72,11 @@ "__stdlib__": { "scaffold": { "$schema": "math/base@v1.0", - "base_alias": "gamma-lanczos-sum", - "alias": "gamma-lanczos-sum", + "base_alias": "gammaLanczosSum", + "alias": "gammaLanczosSum", "pkg_desc": "calculate the Lanczos sum for the approximation of the gamma function", "desc": "calculates the Lanczos sum for the approximation of the gamma function", - "short_desc": "Lanczos approximation", + "short_desc": "Lanczos sum for the approximation of the gamma function", "parameters": [ { "name": "x",