From 178d455a8ed2f68d2abc3f494551e9345b402e9a Mon Sep 17 00:00:00 2001 From: Sachin Pangal Date: Tue, 4 Nov 2025 00:57:16 +0530 Subject: [PATCH 1/7] chore:added structured package data for math/base/special/rad2deg --- .../math/base/special/rad2deg/package.json | 81 ++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/rad2deg/package.json b/lib/node_modules/@stdlib/math/base/special/rad2deg/package.json index c396beb876d9..910fc55a1438 100644 --- a/lib/node_modules/@stdlib/math/base/special/rad2deg/package.json +++ b/lib/node_modules/@stdlib/math/base/special/rad2deg/package.json @@ -63,5 +63,84 @@ "degrees", "angle", "convert" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "rad2deg", + "alias": "rad2deg", + "pkg_desc": "convert an angle from radians to degrees", + "desc": "converts an angle from radians to degrees", + "short_desc": "converts radians to degrees", + "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": [ + -12.566370614359172, + -6.283185307179586, + -3.141592653589793, + -1.5707963267948966, + -0.7853981633974483, + -0.5, + -0.25, + -0.1, + 0, + 0.1, + 0.25, + 0.5, + 0.7853981633974483, + 1, + 1.5707963267948966, + 2, + 3.141592653589793, + 4, + 6.283185307179586, + 12.566370614359172 + ] + } + ], + "output_policy": "same", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "rad2deg", + "radians", + "degrees", + "angle", + "convert", + "trigonometry", + "geometry" + ], + "extra_keywords": [ + "to-degrees" + ] + } + } } From 30d24d289470fd91268cecc74fbf435985f56935 Mon Sep 17 00:00:00 2001 From: Sachin Pangal Date: Tue, 4 Nov 2025 01:16:05 +0530 Subject: [PATCH 2/7] chore: add structured package data for math/base/special/rad2degf --- .../math/base/special/rad2degf/package.json | 81 ++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/rad2degf/package.json b/lib/node_modules/@stdlib/math/base/special/rad2degf/package.json index b422b7ccd75e..66ad68c3eefc 100644 --- a/lib/node_modules/@stdlib/math/base/special/rad2degf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/rad2degf/package.json @@ -63,5 +63,84 @@ "degrees", "angle", "convert" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "rad2degf", + "alias": "rad2degf", + "pkg_desc": "convert an angle from radians to degrees (single-precision)", + "desc": "converts an angle from radians to degrees (single-precision)", + "short_desc": "converts radians to degrees (single-precision)", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10, + 10 + ] + }, + "example_values": [ + -12.566370614359172, + -6.283185307179586, + -3.141592653589793, + -1.5707963267948966, + -0.7853981633974483, + -0.5, + -0.25, + -0.1, + 0, + 0.1, + 0.25, + 0.5, + 0.7853981633974483, + 1, + 1.5707963267948966, + 2, + 3.141592653589793, + 4, + 6.283185307179586, + 12.566370614359172 + ] + } + ], + "output_policy": "same", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "rad2degf", + "radians", + "degrees", + "angle", + "convert", + "trigonometry", + "geometry" + ], + "extra_keywords": [ + "to-degrees" + ] + } + } } From 24a3efe750d60c4f1e5015c5cc56dc73172aa89c Mon Sep 17 00:00:00 2001 From: Sachin Pangal Date: Tue, 4 Nov 2025 01:28:39 +0530 Subject: [PATCH 3/7] chore: add structured package data for math/base/special/ramp --- .../math/base/special/ramp/package.json | 80 ++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/ramp/package.json b/lib/node_modules/@stdlib/math/base/special/ramp/package.json index 626c8bc1dcf7..57f1b6fa693f 100644 --- a/lib/node_modules/@stdlib/math/base/special/ramp/package.json +++ b/lib/node_modules/@stdlib/math/base/special/ramp/package.json @@ -63,5 +63,83 @@ "nonnegative", "digital signal processing", "dsp" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "ramp", + "alias": "ramp", + "pkg_desc": "evaluate the ramp function", + "desc": "evaluates the ramp function", + "short_desc": "evaluates the ramp 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": [ + -10, + 10 + ] + }, + "example_values": [ + 64, + 27, + 0, + 0.1, + -9, + 8, + -1, + 125, + -10.2, + 11.3, + -12.4, + 3.5, + -1.6, + 15.7, + -16, + 17.9, + -188, + 19.11, + -200, + 21.15 + ] + } + ], + "output_policy": "same", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "ramp", + "heaviside", + "max", + "maximum", + "nonnegative", + "dsp" + ], + "extra_keywords": [ + "digital signal processing" + ] + } + } } From 31659f294dd69168eb2aa79f2f2b72c9f6996169 Mon Sep 17 00:00:00 2001 From: Athan Date: Mon, 3 Nov 2025 18:40:24 -0800 Subject: [PATCH 4/7] Discard changes to lib/node_modules/@stdlib/math/base/special/rad2deg/package.json --- .../math/base/special/rad2deg/package.json | 81 +------------------ 1 file changed, 1 insertion(+), 80 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/rad2deg/package.json b/lib/node_modules/@stdlib/math/base/special/rad2deg/package.json index 910fc55a1438..c396beb876d9 100644 --- a/lib/node_modules/@stdlib/math/base/special/rad2deg/package.json +++ b/lib/node_modules/@stdlib/math/base/special/rad2deg/package.json @@ -63,84 +63,5 @@ "degrees", "angle", "convert" - ], - "__stdlib__": { - "scaffold": { - "$schema": "math/base@v1.0", - "base_alias": "rad2deg", - "alias": "rad2deg", - "pkg_desc": "convert an angle from radians to degrees", - "desc": "converts an angle from radians to degrees", - "short_desc": "converts radians to degrees", - "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": [ - -12.566370614359172, - -6.283185307179586, - -3.141592653589793, - -1.5707963267948966, - -0.7853981633974483, - -0.5, - -0.25, - -0.1, - 0, - 0.1, - 0.25, - 0.5, - 0.7853981633974483, - 1, - 1.5707963267948966, - 2, - 3.141592653589793, - 4, - 6.283185307179586, - 12.566370614359172 - ] - } - ], - "output_policy": "same", - "returns": { - "desc": "function value", - "type": { - "javascript": "number", - "jsdoc": "number", - "c": "double", - "dtype": "float64" - } - }, - "keywords": [ - "rad2deg", - "radians", - "degrees", - "angle", - "convert", - "trigonometry", - "geometry" - ], - "extra_keywords": [ - "to-degrees" - ] - } - } + ] } From df11d1fac07dcb11d6d148aef1ea2c904cf260e4 Mon Sep 17 00:00:00 2001 From: Athan Date: Mon, 3 Nov 2025 18:40:30 -0800 Subject: [PATCH 5/7] Discard changes to lib/node_modules/@stdlib/math/base/special/rad2degf/package.json --- .../math/base/special/rad2degf/package.json | 81 +------------------ 1 file changed, 1 insertion(+), 80 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/rad2degf/package.json b/lib/node_modules/@stdlib/math/base/special/rad2degf/package.json index 66ad68c3eefc..b422b7ccd75e 100644 --- a/lib/node_modules/@stdlib/math/base/special/rad2degf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/rad2degf/package.json @@ -63,84 +63,5 @@ "degrees", "angle", "convert" - ], - "__stdlib__": { - "scaffold": { - "$schema": "math/base@v1.0", - "base_alias": "rad2degf", - "alias": "rad2degf", - "pkg_desc": "convert an angle from radians to degrees (single-precision)", - "desc": "converts an angle from radians to degrees (single-precision)", - "short_desc": "converts radians to degrees (single-precision)", - "parameters": [ - { - "name": "x", - "desc": "input value", - "type": { - "javascript": "number", - "jsdoc": "number", - "c": "float", - "dtype": "float32" - }, - "domain": [ - { - "min": "-infinity", - "max": "infinity" - } - ], - "rand": { - "prng": "random/base/uniform", - "parameters": [ - -10, - 10 - ] - }, - "example_values": [ - -12.566370614359172, - -6.283185307179586, - -3.141592653589793, - -1.5707963267948966, - -0.7853981633974483, - -0.5, - -0.25, - -0.1, - 0, - 0.1, - 0.25, - 0.5, - 0.7853981633974483, - 1, - 1.5707963267948966, - 2, - 3.141592653589793, - 4, - 6.283185307179586, - 12.566370614359172 - ] - } - ], - "output_policy": "same", - "returns": { - "desc": "function value", - "type": { - "javascript": "number", - "jsdoc": "number", - "c": "float", - "dtype": "float32" - } - }, - "keywords": [ - "rad2degf", - "radians", - "degrees", - "angle", - "convert", - "trigonometry", - "geometry" - ], - "extra_keywords": [ - "to-degrees" - ] - } - } + ] } From e8237e2935f750cbbd18998024d490d8673fa8d6 Mon Sep 17 00:00:00 2001 From: Athan Date: Mon, 3 Nov 2025 18:40:59 -0800 Subject: [PATCH 6/7] docs: fix description Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/ramp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/ramp/package.json b/lib/node_modules/@stdlib/math/base/special/ramp/package.json index 57f1b6fa693f..6aae7f80d040 100644 --- a/lib/node_modules/@stdlib/math/base/special/ramp/package.json +++ b/lib/node_modules/@stdlib/math/base/special/ramp/package.json @@ -71,7 +71,7 @@ "alias": "ramp", "pkg_desc": "evaluate the ramp function", "desc": "evaluates the ramp function", - "short_desc": "evaluates the ramp function", + "short_desc": "ramp function", "parameters": [ { "name": "x", From caf94fdf8e0304d792191fba42fadf752b76e1f5 Mon Sep 17 00:00:00 2001 From: Athan Date: Mon, 3 Nov 2025 18:41:48 -0800 Subject: [PATCH 7/7] chore: remove keyword Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/ramp/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/ramp/package.json b/lib/node_modules/@stdlib/math/base/special/ramp/package.json index 6aae7f80d040..0dcc3a808927 100644 --- a/lib/node_modules/@stdlib/math/base/special/ramp/package.json +++ b/lib/node_modules/@stdlib/math/base/special/ramp/package.json @@ -137,9 +137,7 @@ "nonnegative", "dsp" ], - "extra_keywords": [ - "digital signal processing" - ] + "extra_keywords": [] } } }