From 31fa094c5bf9778a1dba995fd2eb679bc1734083 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Sun, 7 Sep 2025 19:29:34 +0530 Subject: [PATCH 1/5] chore: add structured package data --- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/asec/package.json | 86 +++++++++++++++++- .../math/base/special/asecd/package.json | 89 ++++++++++++++++++- .../math/base/special/asecdf/package.json | 85 +++++++++++++++++- .../math/base/special/asecf/package.json | 86 +++++++++++++++++- .../math/base/special/asech/package.json | 83 ++++++++++++++++- .../math/base/special/asind/package.json | 79 +++++++++++++++- .../math/base/special/asindf/package.json | 79 +++++++++++++++- .../math/base/special/asinh/package.json | 79 +++++++++++++++- 8 files changed, 654 insertions(+), 12 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/asec/package.json b/lib/node_modules/@stdlib/math/base/special/asec/package.json index 23991cef18d7..35d28f1fb210 100644 --- a/lib/node_modules/@stdlib/math/base/special/asec/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asec/package.json @@ -67,5 +67,89 @@ "trig", "trigonometry", "angle" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "asec", + "alias": "asec", + "pkg_desc": "compute the inverse (arc) secant of a double-precision floating-point number", + "desc": "computes the inverse (arc) secant of a double-precision floating-point number", + "short_desc": "inverse (arc) secant", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": -1 + }, + { + "min": 1, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 1.1, + 10 + ] + }, + "example_values": [ + 1506.98, + -237.4, + 1.0002, + -1.0005, + 42.01, + -77.3, + 9.31, + -3.47, + 100, + -12.61, + 5.73, + -999.9, + 2.19, + -7.42, + 1.67, + -2.88, + 321.5, + -1.23, + 19.3, + -15.8 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "inverse (arc) secant", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "asec", + "inverse", + "cosine", + "cos", + "arc", + "arccosine", + "secant", + "arcsecant" + ], + "extra_keywords": [ + "math.acos" + ] + } + } } diff --git a/lib/node_modules/@stdlib/math/base/special/asecd/package.json b/lib/node_modules/@stdlib/math/base/special/asecd/package.json index dc36eefbdd45..b87d1940b548 100644 --- a/lib/node_modules/@stdlib/math/base/special/asecd/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asecd/package.json @@ -56,15 +56,96 @@ "stdmath", "mathematics", "math", - "math.asin", - "asin", + "math.acos", + "acos", "degree", "arcsecant", - "sine", + "cosine", "inverse", "trig", "trigonometry", "radians", "angle" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "asecd", + "alias": "asecd", + "pkg_desc": "compute the arcsecant (in degrees) of a double-precision floating-point number", + "desc": "computes the arcsecant (in degrees) of a double-precision floating-point number", + "short_desc": "arcsecant (in degrees)", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": -1 + }, + { + "min": 1, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 1.1, + 10 + ] + }, + "example_values": [ + 100, + -1.07, + 2.51, + -4.73, + 19.5, + -212.3, + 7.66, + -9.38, + 3.41, + -5.28, + 12.3, + -20, + 1.96, + -1.21, + 9.91, + -6.7, + 15.4, + -3.36, + 1506.98, + -1000 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "arcsecant (in degrees)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "acos", + "degree", + "arcsecant", + "cosine", + "inverse" + ], + "extra_keywords": [ + "math.acos" + ] + } + } } diff --git a/lib/node_modules/@stdlib/math/base/special/asecdf/package.json b/lib/node_modules/@stdlib/math/base/special/asecdf/package.json index f95ebd88b243..bc5b4798e8d1 100644 --- a/lib/node_modules/@stdlib/math/base/special/asecdf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asecdf/package.json @@ -56,7 +56,7 @@ "stdmath", "mathematics", "math", - "math.asec", + "math.acos", "asec", "degree", "arcsecant", @@ -65,5 +65,86 @@ "trig", "trigonometry", "radians" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "asecd", + "alias": "asecdf", + "pkg_desc": "compute the arcsecant (in degrees) of a single-precision floating-point number", + "desc": "computes the arcsecant (in degrees) of a single-precision floating-point number", + "short_desc": "arcsecant (in degrees)", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": "-infinity", + "max": -1 + }, + { + "min": 1, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 1.1, + 5.1 + ] + }, + "example_values": [ + 150.4, + -1.12, + 2.63, + -4.05, + 33.7, + -487.2, + 8.91, + -13.45, + 1.07, + -1.37, + 95.2, + -2.18, + 5.42, + -6.71, + 1200.5, + -10.9, + 17.6, + -72.3, + 241.9, + -3.01 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "arcsecant (in degrees)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "asec", + "degree", + "arcsecant", + "secant", + "inverse" + ], + "extra_keywords": [ + "math.acos" + ] + } + } } diff --git a/lib/node_modules/@stdlib/math/base/special/asecf/package.json b/lib/node_modules/@stdlib/math/base/special/asecf/package.json index 1f9532f4e8fa..57b213c1ed8e 100644 --- a/lib/node_modules/@stdlib/math/base/special/asecf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asecf/package.json @@ -67,5 +67,89 @@ "trig", "trigonometry", "angle" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "asec", + "alias": "asecf", + "pkg_desc": "compute the inverse (arc) secant of a single-precision floating-point number", + "desc": "computes the inverse (arc) secant of a single-precision floating-point number", + "short_desc": "inverse (arc) secant", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": "-infinity", + "max": -1 + }, + { + "min": 1, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 1.1, + 5.1 + ] + }, + "example_values": [ + 905.5, + -123.75, + 1.001, + -1.08, + 66.2, + -201.9, + 13.7, + -3.81, + 4.43, + -19.6, + 2.28, + -7.33, + 150.25, + -11.2, + 5.04, + -1.36, + 1.21, + -88.65, + 37.9, + -402.3 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "arcsecant", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "asecf", + "inverse", + "cosine", + "cos", + "arc", + "arccosine", + "secant", + "arcsecant" + ], + "extra_keywords": [ + "math.acos" + ] + } + } } diff --git a/lib/node_modules/@stdlib/math/base/special/asech/package.json b/lib/node_modules/@stdlib/math/base/special/asech/package.json index 1cb9ee316466..42609f0fadeb 100644 --- a/lib/node_modules/@stdlib/math/base/special/asech/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asech/package.json @@ -68,5 +68,86 @@ "trig", "trigonometry", "angle" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "asech", + "alias": "asech", + "pkg_desc": "compute the hyperbolic arcsecant of a double-precision floating-point number", + "desc": "computes the hyperbolic arcsecant of a double-precision floating-point number", + "short_desc": "hyperbolic arcsecant", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": 0, + "max": 1 + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 0.05, + 1 + ] + }, + "example_values": [ + 0.92, + 0.31, + 0.57, + 0.11, + 0.79, + 0.23, + 0.44, + 0.68, + 0.16, + 0.35, + 0.97, + 0.04, + 0.83, + 0.26, + 0.52, + 0.07, + 0.63, + 0.2, + 0.48, + 0.89 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "hyperbolic arcsecant", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "asech", + "hyperbolic", + "inverse", + "cosine", + "cos", + "arc", + "arccosine", + "secant", + "arcsecant" + ], + "extra_keywords": [ + "math.acosh" + ] + } + } } diff --git a/lib/node_modules/@stdlib/math/base/special/asind/package.json b/lib/node_modules/@stdlib/math/base/special/asind/package.json index 6b33f9689b63..c29b2433621e 100644 --- a/lib/node_modules/@stdlib/math/base/special/asind/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asind/package.json @@ -65,5 +65,82 @@ "trig", "trigonometry", "radians" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "asind", + "alias": "asind", + "pkg_desc": "compute the arcsine (in degrees) of a double-precision floating-point number", + "desc": "computes the arcsine (in degrees) of a double-precision floating-point number", + "short_desc": "arcsine (in degrees)", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": -1, + "max": 1 + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -1, + 1 + ] + }, + "example_values": [ + 0.58, + -0.73, + 0.11, + -0.94, + 0.37, + -0.06, + 0.98, + -0.21, + 0.44, + -0.77, + 0.59, + -0.14, + 0.27, + -0.35, + 0.86, + -0.01, + -0.41, + 0.18, + -0.66, + 1 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "arcsine (in degrees)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "asin", + "degree", + "arcsine", + "sine", + "inverse" + ], + "extra_keywords": [ + "math.asin" + ] + } + } } diff --git a/lib/node_modules/@stdlib/math/base/special/asindf/package.json b/lib/node_modules/@stdlib/math/base/special/asindf/package.json index 9d52f0aa6845..dbcdae173210 100644 --- a/lib/node_modules/@stdlib/math/base/special/asindf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asindf/package.json @@ -65,5 +65,82 @@ "trig", "trigonometry", "radians" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "asind", + "alias": "asindf", + "pkg_desc": "compute the arcsine (in degrees) of a single-precision floating-point number", + "desc": "computes the arcsine (in degrees) of a single-precision floating-point number", + "short_desc": "arcsine (in degrees)", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": -1, + "max": 1 + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -1, + 1 + ] + }, + "example_values": [ + -0.88, + 0.95, + -0.03, + 0.62, + -0.47, + 0.14, + -0.7, + 0.29, + -0.22, + 0.51, + -0.97, + 0.74, + -0.39, + 0.83, + -0.11, + 0.06, + -0.55, + 0.2, + -0.64, + 1 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "arcsine (in degrees)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "asin", + "degree", + "arcsine", + "sine", + "inverse" + ], + "extra_keywords": [ + "math.asin" + ] + } + } } diff --git a/lib/node_modules/@stdlib/math/base/special/asinh/package.json b/lib/node_modules/@stdlib/math/base/special/asinh/package.json index 290e0ff6d13f..a976add902b9 100644 --- a/lib/node_modules/@stdlib/math/base/special/asinh/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asinh/package.json @@ -68,5 +68,82 @@ "angle", "polyfill", "ponyfill" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "asinh", + "alias": "asinh", + "pkg_desc": "compute the hyperbolic arcsine of a double-precision floating-point number", + "desc": "computes the hyperbolic arcsine of a double-precision floating-point number", + "short_desc": "hyperbolic arcsine", + "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": [ + 100, + -37.5, + 0.42, + -250.8, + 3.78, + -0.42, + 1.97, + -4.63, + 0.12, + -1.55, + 4.41, + -0.93, + 2.88, + -3.37, + 0.68, + -2.46, + 5, + -0.17, + -100, + 250.3 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "hyperbolic arcsine", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "asinh", + "hyperbolic", + "inverse", + "arcsine", + "sine" + ], + "extra_keywords": [ + "math.asinh" + ] + } + } } From bec3b8c599d84640f544c1b90773ebfb2efc5539 Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 7 Sep 2025 13:05:47 -0700 Subject: [PATCH 2/5] docs: update short desc Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/asecdf/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/asecdf/package.json b/lib/node_modules/@stdlib/math/base/special/asecdf/package.json index bc5b4798e8d1..70fe2198b19b 100644 --- a/lib/node_modules/@stdlib/math/base/special/asecdf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asecdf/package.json @@ -73,7 +73,7 @@ "alias": "asecdf", "pkg_desc": "compute the arcsecant (in degrees) of a single-precision floating-point number", "desc": "computes the arcsecant (in degrees) of a single-precision floating-point number", - "short_desc": "arcsecant (in degrees)", + "short_desc": "arcsecant", "parameters": [ { "name": "x", From fc1148fd360e188452a34558115ff6bbdd1124cf Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 7 Sep 2025 13:06:09 -0700 Subject: [PATCH 3/5] docs: update short desc Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/asecd/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/asecd/package.json b/lib/node_modules/@stdlib/math/base/special/asecd/package.json index b87d1940b548..1ab99293bf7e 100644 --- a/lib/node_modules/@stdlib/math/base/special/asecd/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asecd/package.json @@ -74,7 +74,7 @@ "alias": "asecd", "pkg_desc": "compute the arcsecant (in degrees) of a double-precision floating-point number", "desc": "computes the arcsecant (in degrees) of a double-precision floating-point number", - "short_desc": "arcsecant (in degrees)", + "short_desc": "arcsecant", "parameters": [ { "name": "x", From a8b0d3f92ffe1f0a166fe4c8e72dc0817c6e480b Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 7 Sep 2025 13:07:26 -0700 Subject: [PATCH 4/5] docs: update short desc Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/asind/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/asind/package.json b/lib/node_modules/@stdlib/math/base/special/asind/package.json index c29b2433621e..659d12530529 100644 --- a/lib/node_modules/@stdlib/math/base/special/asind/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asind/package.json @@ -73,7 +73,7 @@ "alias": "asind", "pkg_desc": "compute the arcsine (in degrees) of a double-precision floating-point number", "desc": "computes the arcsine (in degrees) of a double-precision floating-point number", - "short_desc": "arcsine (in degrees)", + "short_desc": "arcsine", "parameters": [ { "name": "x", From 21b5b024bf6e8ceb2de01ffca8c23dab00118f79 Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 7 Sep 2025 13:08:02 -0700 Subject: [PATCH 5/5] docs: update short desc Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/asindf/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/asindf/package.json b/lib/node_modules/@stdlib/math/base/special/asindf/package.json index dbcdae173210..e0de2583f3c9 100644 --- a/lib/node_modules/@stdlib/math/base/special/asindf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/asindf/package.json @@ -73,7 +73,7 @@ "alias": "asindf", "pkg_desc": "compute the arcsine (in degrees) of a single-precision floating-point number", "desc": "computes the arcsine (in degrees) of a single-precision floating-point number", - "short_desc": "arcsine (in degrees)", + "short_desc": "arcsine", "parameters": [ { "name": "x",