From 1799432948ee24457eafc6553df354728a3f05de Mon Sep 17 00:00:00 2001 From: Aman Singh Date: Wed, 3 Dec 2025 20:53:18 +0530 Subject: [PATCH 1/3] chore: add structured package data for math/base/special/cphasef --- .../math/base/special/cphasef/package.json | 139 +++++++++++++++++- 1 file changed, 138 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cphasef/package.json b/lib/node_modules/@stdlib/math/base/special/cphasef/package.json index ca1ca9e53b43..03c23269a2ef 100644 --- a/lib/node_modules/@stdlib/math/base/special/cphasef/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cphasef/package.json @@ -65,5 +65,142 @@ "complex", "cmplx", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "cphase", + "alias": "cphasef", + "pkg_desc": "compute the argument of a single-precision complex floating-point number in radians", + "desc": "computes the argument of a single-precision complex floating-point number in radians", + "short_desc": "argument of a single-precision complex number", + "parameters": [ + { + "name": "z", + "desc": "input value", + "type": { + "javascript": "Complex64", + "jsdoc": "Complex64", + "c": "stdlib_complex64_t", + "dtype": "complex64" + }, + "domain": null, + "rand": { + "prng": "random/base/uniform", + "parameters": [ + [ + -10, + 10 + ], + [ + -10, + 10 + ] + ] + }, + "example_values": [ + { + "re": 5, + "im": 3 + }, + { + "re": -5, + "im": 3 + }, + { + "re": 5, + "im": -3 + }, + { + "re": -5, + "im": -3 + }, + { + "re": 1, + "im": 1 + }, + { + "re": -1, + "im": 1 + }, + { + "re": 1, + "im": -1 + }, + { + "re": -1, + "im": -1 + }, + { + "re": 3, + "im": 4 + }, + { + "re": -3, + "im": 4 + }, + { + "re": 0, + "im": 1 + }, + { + "re": 0, + "im": -1 + }, + { + "re": 1, + "im": 0 + }, + { + "re": -1, + "im": 0 + }, + { + "re": 2, + "im": 2 + }, + { + "re": -2, + "im": 2 + }, + { + "re": 4, + "im": 3 + }, + { + "re": 6, + "im": 8 + }, + { + "re": 7, + "im": 24 + }, + { + "re": 0.5, + "im": 0.5 + } + ] + } + ], + "returns": { + "desc": "argument in radians", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "cphasef", + "phase", + "argument", + "arg", + "angle", + "complex", + "cmplx" + ], + "extra_keywords": [] + } + } } From db4e6613b6046984c9afb07d5959e07c99382e68 Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 3 Dec 2025 20:37:59 -0800 Subject: [PATCH 2/3] docs: update desc Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/cphasef/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cphasef/package.json b/lib/node_modules/@stdlib/math/base/special/cphasef/package.json index 03c23269a2ef..c28d316190fe 100644 --- a/lib/node_modules/@stdlib/math/base/special/cphasef/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cphasef/package.json @@ -73,7 +73,7 @@ "alias": "cphasef", "pkg_desc": "compute the argument of a single-precision complex floating-point number in radians", "desc": "computes the argument of a single-precision complex floating-point number in radians", - "short_desc": "argument of a single-precision complex number", + "short_desc": "argument of a complex number", "parameters": [ { "name": "z", From 8df3d464553161877c6889e308c424a863fb4ca3 Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 3 Dec 2025 20:38:36 -0800 Subject: [PATCH 3/3] chore: update keywords Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/cphasef/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cphasef/package.json b/lib/node_modules/@stdlib/math/base/special/cphasef/package.json index c28d316190fe..55b5ad38e712 100644 --- a/lib/node_modules/@stdlib/math/base/special/cphasef/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cphasef/package.json @@ -192,7 +192,7 @@ } }, "keywords": [ - "cphasef", + "cphase", "phase", "argument", "arg",