From 8e3c9d6541b0fa4e45422e90fac165f130b5d8d8 Mon Sep 17 00:00:00 2001 From: kgryte <2643044+kgryte@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:25:07 +0000 Subject: [PATCH] feat: update math scaffold databases Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../@stdlib/math/special/data/unary.json | 136 +++++++++++++++++- 1 file changed, 135 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/special/data/unary.json b/lib/node_modules/@stdlib/math/special/data/unary.json index be68c4d4d19c..ed4c48ef5d24 100644 --- a/lib/node_modules/@stdlib/math/special/data/unary.json +++ b/lib/node_modules/@stdlib/math/special/data/unary.json @@ -7134,7 +7134,141 @@ ] }, "@stdlib/math/base/special/cphasef": {}, - "@stdlib/math/base/special/cphase": {}, + "@stdlib/math/base/special/cphase": { + "$schema": "math/base@v1.0", + "base_alias": "cphase", + "alias": "cphase", + "pkg_desc": "compute the argument of a double-precision complex floating-point number in radians", + "desc": "computes the argument of a double-precision complex floating-point number in radians", + "short_desc": "argument of a complex number", + "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": [ + [ + -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": "double", + "dtype": "float64" + } + }, + "keywords": [ + "cphase", + "phase", + "argument", + "arg", + "angle", + "complex", + "cmplx" + ], + "extra_keywords": [] + }, "@stdlib/math/base/special/cscf": { "$schema": "math/base@v1.0", "base_alias": "csc",