From 5cf578b1e2d41177d0cce3dd14e3567c17b88b31 Mon Sep 17 00:00:00 2001 From: iampratik13 Date: Wed, 5 Nov 2025 11:18:49 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/ccis --- .../math/base/special/ccis/package.json | 139 +++++++++++++++++- 1 file changed, 138 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/ccis/package.json b/lib/node_modules/@stdlib/math/base/special/ccis/package.json index e53f8df1bb9a..c9163cc42354 100644 --- a/lib/node_modules/@stdlib/math/base/special/ccis/package.json +++ b/lib/node_modules/@stdlib/math/base/special/ccis/package.json @@ -61,5 +61,142 @@ "complex", "cmplx", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "cis", + "alias": "ccis", + "pkg_desc": "evaluate the cis function for a double-precision complex floating-point number", + "desc": "evaluates the cis function for a double-precision complex floating-point number", + "short_desc": "cis function", + "parameters": [ + { + "name": "z", + "desc": "input value", + "type": { + "javascript": "Complex128", + "jsdoc": "Complex128", + "c": "stdlib_complex128_t", + "dtype": "complex128" + }, + "domain": null, + "rand": { + "prng": "random/base/uniform", + "parameters": [ + [ + -50, + 50 + ], + [ + -50, + 50 + ] + ] + }, + "example_values": [ + { + "re": 0, + "im": 0 + }, + { + "re": 1, + "im": 0 + }, + { + "re": -3.14, + "im": -1.5 + }, + { + "re": -1.5, + "im": 2.5 + }, + { + "re": 2.5, + "im": -1.5 + }, + { + "re": 0, + "im": -3.7 + }, + { + "re": 4.2, + "im": 0 + }, + { + "re": 21.2, + "im": 3 + }, + { + "re": 11, + "im": -5 + }, + { + "re": 33, + "im": -14.67 + }, + { + "re": -42, + "im": 9.3 + }, + { + "re": -3, + "im": 3 + }, + { + "re": 73, + "im": 31 + }, + { + "re": -2.45, + "im": 1.23 + }, + { + "re": 2.45, + "im": -1.23 + }, + { + "re": 1.77, + "im": -3.14 + }, + { + "re": -7.5, + "im": 8.2 + }, + { + "re": 5.5, + "im": -12.3 + }, + { + "re": -15.8, + "im": 0.4 + }, + { + "re": 0.99, + "im": -0.99 + } + ] + } + ], + "returns": { + "desc": "result", + "type": { + "javascript": "Complex128", + "jsdoc": "Complex128", + "c": "stdlib_complex128_t", + "dtype": "complex128" + } + }, + "keywords": [ + "cis", + "arithmetic", + "complex", + "exponential", + "euler" + ], + "extra_keywords": [ + "exp" + ] + } + } } From d9bff525ff4ad1588bfc8a19fdbbb415b72f5638 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 4 Nov 2025 23:29:05 -0800 Subject: [PATCH 2/2] docs: update desc Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/ccis/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/ccis/package.json b/lib/node_modules/@stdlib/math/base/special/ccis/package.json index c9163cc42354..89849de4fa1c 100644 --- a/lib/node_modules/@stdlib/math/base/special/ccis/package.json +++ b/lib/node_modules/@stdlib/math/base/special/ccis/package.json @@ -67,8 +67,8 @@ "$schema": "math/base@v1.0", "base_alias": "cis", "alias": "ccis", - "pkg_desc": "evaluate the cis function for a double-precision complex floating-point number", - "desc": "evaluates the cis function for a double-precision complex floating-point number", + "pkg_desc": "compute the cis function for a double-precision complex floating-point number", + "desc": "computes the cis function for a double-precision complex floating-point number", "short_desc": "cis function", "parameters": [ {