From 1700a63b7e74bfcde979977ef99f9ca177122aa4 Mon Sep 17 00:00:00 2001 From: kgryte <2643044+kgryte@users.noreply.github.com> Date: Tue, 2 Dec 2025 05:53:59 +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 | 135 +++++++++++++++++- 1 file changed, 134 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 1f7f66c3d749..8e8cf58dea08 100644 --- a/lib/node_modules/@stdlib/math/special/data/unary.json +++ b/lib/node_modules/@stdlib/math/special/data/unary.json @@ -11541,7 +11541,140 @@ ] }, "@stdlib/math/base/special/cinvf": {}, - "@stdlib/math/base/special/cinv": {}, + "@stdlib/math/base/special/cinv": { + "$schema": "math/base@v1.0", + "base_alias": "cinv", + "alias": "cinv", + "pkg_desc": "compute the inverse of a double-precision complex floating-point number", + "desc": "computes the inverse of a double-precision complex floating-point number", + "short_desc": "inverse 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": 2, + "im": 4 + }, + { + "re": 1, + "im": 1 + }, + { + "re": -1, + "im": -1 + }, + { + "re": 3, + "im": -2 + }, + { + "re": -2, + "im": 3 + }, + { + "re": 5, + "im": 0 + }, + { + "re": 0, + "im": 5 + }, + { + "re": -4, + "im": 2 + }, + { + "re": 1.5, + "im": -2.5 + }, + { + "re": -3.5, + "im": 1.5 + }, + { + "re": 2.2, + "im": 3.3 + }, + { + "re": -1.1, + "im": -2.2 + }, + { + "re": 4.5, + "im": -1.5 + }, + { + "re": -2.5, + "im": 4.5 + }, + { + "re": 3.7, + "im": 2.1 + }, + { + "re": -5.2, + "im": -3.8 + }, + { + "re": 1.8, + "im": 4.2 + }, + { + "re": -3.3, + "im": 1.9 + }, + { + "re": 6.1, + "im": -2.7 + }, + { + "re": -4.4, + "im": 5.5 + } + ] + } + ], + "returns": { + "desc": "result", + "type": { + "javascript": "Complex128", + "jsdoc": "Complex128", + "c": "stdlib_complex128_t", + "dtype": "complex128" + } + }, + "keywords": [ + "cinv", + "inv", + "inverse", + "reciprocal", + "complex", + "cmplx" + ], + "extra_keywords": [] + }, "@stdlib/math/base/special/lnf": { "$schema": "math/base@v1.0", "base_alias": "ln",