From 94d477bbd3b707a31b2aca2e3570c2d2c22764e6 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Tue, 17 Sep 2024 11:25:42 +0530 Subject: [PATCH] chore: add structured package data for math/base/special/pow --- .../math/base/special/pow/package.json | 122 +++++++++++++++++- 1 file changed, 121 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/pow/package.json b/lib/node_modules/@stdlib/math/base/special/pow/package.json index 5285473ba9fb..af5740e00a53 100644 --- a/lib/node_modules/@stdlib/math/base/special/pow/package.json +++ b/lib/node_modules/@stdlib/math/base/special/pow/package.json @@ -64,5 +64,125 @@ "exponential", "function", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "pow", + "alias": "pow", + "pkg_desc": "exponential function", + "desc": "exponential function", + "short_desc": "exponential function", + "parameters": [ + { + "name": "x", + "desc": "base", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10.0, + 10.0 + ] + }, + "example_values": [ + -1.2, + 2.0, + -3.1, + 4.0, + 5.5, + 100.0, + 8.9, + 3.141592653589793, + 11.3, + -3.141592653589793, + 13.5, + 14.6, + -15.7, + 16.8, + -17.9, + 10.0, + -19.11, + 20.12, + -21.15, + 1.0 + ] + }, + { + "name": "y", + "desc": "exponent", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10.0, + 10.0 + ] + }, + "example_values": [ + 1.2, + -2.0, + 3.0, + -0.5, + 0.0, + -5.6, + 8.9, + -10.0, + 1.5, + -12.0, + 13.5, + 14.6, + -15.7, + 6.0, + -17.0, + 18.0, + -9.0, + 2.12, + -1.15, + -2.0 + ] + } + ], + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "natural", + "exponential", + "pow", + "power" + ], + "extra_keywords": [ + "math.pow" + ] + } + } }