From e27709a019c290f22cf520202ac29ebf1701fd6d Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sun, 2 Nov 2025 10:24:45 +0530 Subject: [PATCH] chore: add structured package data for math/base/special/secd --- 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/secd/package.json | 78 ++++++++++++++++++- 1 file changed, 77 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/secd/package.json b/lib/node_modules/@stdlib/math/base/special/secd/package.json index 95626afded3c..f100faf4dbf2 100644 --- a/lib/node_modules/@stdlib/math/base/special/secd/package.json +++ b/lib/node_modules/@stdlib/math/base/special/secd/package.json @@ -63,5 +63,81 @@ "trigonometry", "angle", "degree" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "secd", + "alias": "secd", + "pkg_desc": "compute the secant of an angle measured in degrees", + "desc": "computes the secant of an angle measured in degrees", + "short_desc": "secant", + "parameters": [ + { + "name": "x", + "desc": "input value (in degrees)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -180, + 180 + ] + }, + "example_values": [ + 0, + 30, + 45, + 60, + 90, + 120, + 135, + 150, + 180, + -30, + -45, + -60, + -90, + -120, + -135, + -150, + -180 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "secant", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "secant", + "sine", + "inverse", + "trig", + "trigonometry", + "angle", + "degree" + ], + "extra_keywords": [ + "math.sec" + ] + } + } }