From 6b46fb0cc670f670ff3009eb634d789e83c6c64e Mon Sep 17 00:00:00 2001 From: Aman Singh Date: Tue, 2 Dec 2025 15:39:45 +0530 Subject: [PATCH 1/4] chore: add structured package data for math/base/special/cinvf --- .../math/base/special/cinvf/package.json | 120 +++++++++++++++++- 1 file changed, 119 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cinvf/package.json b/lib/node_modules/@stdlib/math/base/special/cinvf/package.json index eb73410cb1e3..c3e407d52708 100644 --- a/lib/node_modules/@stdlib/math/base/special/cinvf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cinvf/package.json @@ -65,5 +65,123 @@ "complex", "cmplx", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "cinvf", + "alias": "cinvf", + "pkg_desc": "compute the inverse of a single-precision complex floating-point number", + "desc": "computes the inverse of a single-precision complex floating-point number", + "short_desc": "inverse of a single-precision complex number", + "parameters": [ + { + "name": "z", + "type": { + "javascript": "Complex64", + "c": "stdlib_complex64_t", + "dtype": "complex64" + }, + "description": "complex number", + "example_values": [ + { + "re": 2.0, + "im": 4.0 + }, + { + "re": 1.0, + "im": 1.0 + }, + { + "re": -1.0, + "im": -1.0 + }, + { + "re": 0.5, + "im": 0.5 + }, + { + "re": 3.0, + "im": -4.0 + }, + { + "re": -2.0, + "im": 3.0 + }, + { + "re": 1.0, + "im": -2.0 + }, + { + "re": -3.0, + "im": 2.0 + }, + { + "re": 4.0, + "im": 3.0 + }, + { + "re": -5.0, + "im": -2.0 + }, + { + "re": 2.5, + "im": 1.5 + }, + { + "re": -1.5, + "im": 2.5 + }, + { + "re": 0.25, + "im": 0.75 + }, + { + "re": 1.75, + "im": -1.25 + }, + { + "re": -0.5, + "im": 1.0 + }, + { + "re": 3.5, + "im": 2.5 + }, + { + "re": -2.5, + "im": -3.5 + }, + { + "re": 1.25, + "im": 0.75 + }, + { + "re": -4.0, + "im": 1.0 + }, + { + "re": 0.1, + "im": 0.2 + } + ] + } + ], + "returns": { + "type": { + "javascript": "Complex64", + "dtype": "complex64" + }, + "description": "result" + }, + "keywords": [ + "cinvf", + "inv", + "inverse", + "reciprocal", + "complex", + "cmplx" + ] + } + } } From ea08ecd401b7efcbf4f7663c606caa699164618d Mon Sep 17 00:00:00 2001 From: Aman Singh Date: Wed, 3 Dec 2025 16:43:06 +0530 Subject: [PATCH 2/4] fix: add missing fields in cinvf package.json metadata --- .../math/base/special/cinvf/package.json | 68 ++++++++++++------- 1 file changed, 43 insertions(+), 25 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cinvf/package.json b/lib/node_modules/@stdlib/math/base/special/cinvf/package.json index c3e407d52708..a135e74bb39b 100644 --- a/lib/node_modules/@stdlib/math/base/special/cinvf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cinvf/package.json @@ -77,52 +77,67 @@ "parameters": [ { "name": "z", + "desc": "input value", "type": { "javascript": "Complex64", + "jsdoc": "Complex64", "c": "stdlib_complex64_t", "dtype": "complex64" }, - "description": "complex number", + "domain": null, + "rand": { + "prng": "random/base/uniform", + "parameters": [ + [ + -10, + 10 + ], + [ + -10, + 10 + ] + ] + }, "example_values": [ { - "re": 2.0, - "im": 4.0 + "re": 2, + "im": 4 }, { - "re": 1.0, - "im": 1.0 + "re": 1, + "im": 1 }, { - "re": -1.0, - "im": -1.0 + "re": -1, + "im": -1 }, { "re": 0.5, "im": 0.5 }, { - "re": 3.0, - "im": -4.0 + "re": 3, + "im": -4 }, { - "re": -2.0, - "im": 3.0 + "re": -2, + "im": 3 }, { - "re": 1.0, - "im": -2.0 + "re": 1, + "im": -2 }, { - "re": -3.0, - "im": 2.0 + "re": -3, + "im": 2 }, { - "re": 4.0, - "im": 3.0 + "re": 4, + "im": 3 }, { - "re": -5.0, - "im": -2.0 + "re": -5, + "im": -2 }, { "re": 2.5, @@ -142,7 +157,7 @@ }, { "re": -0.5, - "im": 1.0 + "im": 1 }, { "re": 3.5, @@ -157,8 +172,8 @@ "im": 0.75 }, { - "re": -4.0, - "im": 1.0 + "re": -4, + "im": 1 }, { "re": 0.1, @@ -168,11 +183,13 @@ } ], "returns": { + "desc": "result", "type": { "javascript": "Complex64", + "jsdoc": "Complex64", + "c": "stdlib_complex64_t", "dtype": "complex64" - }, - "description": "result" + } }, "keywords": [ "cinvf", @@ -181,7 +198,8 @@ "reciprocal", "complex", "cmplx" - ] + ], + "extra_keywords": [] } } } From bc1c0c0b24927fa3510f2a8b0fc34e1f66f6e1e9 Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 3 Dec 2025 03:44:29 -0800 Subject: [PATCH 3/4] docs: fix base alias Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/cinvf/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cinvf/package.json b/lib/node_modules/@stdlib/math/base/special/cinvf/package.json index a135e74bb39b..163c34d2fd48 100644 --- a/lib/node_modules/@stdlib/math/base/special/cinvf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cinvf/package.json @@ -69,7 +69,7 @@ "__stdlib__": { "scaffold": { "$schema": "math/base@v1.0", - "base_alias": "cinvf", + "base_alias": "cinv", "alias": "cinvf", "pkg_desc": "compute the inverse of a single-precision complex floating-point number", "desc": "computes the inverse of a single-precision complex floating-point number", From bf8b3f84903ac8930271aab2abd405e101b86a04 Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 3 Dec 2025 03:45:19 -0800 Subject: [PATCH 4/4] chore: update keyword Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/cinvf/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cinvf/package.json b/lib/node_modules/@stdlib/math/base/special/cinvf/package.json index 163c34d2fd48..aa943a284f58 100644 --- a/lib/node_modules/@stdlib/math/base/special/cinvf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cinvf/package.json @@ -192,7 +192,7 @@ } }, "keywords": [ - "cinvf", + "cinv", "inv", "inverse", "reciprocal",