From bd6adb34375c6233ec13cce97fc22332430d5174 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Mon, 6 Oct 2025 11:24:22 +0530 Subject: [PATCH] chore: add structured package data for math/base/special/expit --- 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 --- --- .../math/base/special/expit/package.json | 81 ++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/expit/package.json b/lib/node_modules/@stdlib/math/base/special/expit/package.json index 4b40619253e0..6417c4f75421 100644 --- a/lib/node_modules/@stdlib/math/base/special/expit/package.json +++ b/lib/node_modules/@stdlib/math/base/special/expit/package.json @@ -64,5 +64,84 @@ "log-odds", "sigmoid", "special" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "expit", + "alias": "expit", + "pkg_desc": "evaluate the base 2 exponential function for a double-precision floating-point number", + "desc": "evaluates the base 2 exponential function for a double-precision floating-point number", + "short_desc": "base 2 exponential function", + "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": [ + -5, + 5 + ] + }, + "example_values": [ + -4.62, + 3.17, + -2.41, + 1.28, + -0.73, + 2.56, + -3.09, + 0.41, + 4.12, + -1.85, + 2.93, + -4.37, + 1.67, + -0.28, + 3.74, + -2.96, + 0.83, + -1.12, + 4.89, + -3.51 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "exp", + "exp2", + "base 2", + "natural", + "exponential", + "euler", + "power" + ], + "extra_keywords": [ + "math.exp" + ] + } + } }