From bf7c8d7cb35d634e0c516792377452c84011fc38 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sun, 2 Nov 2025 10:34:21 +0530 Subject: [PATCH] chore: add structured package data for math/base/special/secdf --- 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/secdf/package.json | 77 ++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/secdf/package.json b/lib/node_modules/@stdlib/math/base/special/secdf/package.json index 6fbf4c6c3a6d..1861e63d1505 100644 --- a/lib/node_modules/@stdlib/math/base/special/secdf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/secdf/package.json @@ -62,5 +62,80 @@ "trig", "trigonometry", "angle" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "secd", + "alias": "secdf", + "pkg_desc": "compute the secant of a single-precision floating-point number (in degrees)", + "desc": "computes the secant of a single-precision floating-point number (in degrees)", + "short_desc": "secant", + "parameters": [ + { + "name": "x", + "desc": "input value (in degrees)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "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": "float", + "dtype": "float32" + } + }, + "keywords": [ + "secant", + "cosine", + "inverse", + "trig", + "trigonometry", + "angle" + ], + "extra_keywords": [ + "math.sec" + ] + } + } }