diff --git a/lib/node_modules/@stdlib/math/base/special/tanh/package.json b/lib/node_modules/@stdlib/math/base/special/tanh/package.json index d58f748c557c..0d718bdf96b2 100644 --- a/lib/node_modules/@stdlib/math/base/special/tanh/package.json +++ b/lib/node_modules/@stdlib/math/base/special/tanh/package.json @@ -68,5 +68,85 @@ "angle", "polyfill", "ponyfill" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "tanh", + "alias": "tanh", + "pkg_desc": "compute the hyperbolic tangent of a double-precision floating-point number", + "desc": "computes the hyperbolic tangent of a double-precision floating-point number", + "short_desc": "hyperbolic tangent", + "parameters": [ + { + "name": "x", + "desc": "input value (in radians)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10, + 10 + ] + }, + "example_values": [ + 0, + 0.5236, + 0.7854, + 1.0472, + 1.5708, + 3.1416, + 4.7124, + 6.2832, + -0.7854, + -1.5708, + -3.1416, + 5, + -2, + 0.1, + -0.1, + 2.3562, + -2.3562, + 7.85398, + -7.85398, + 10 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "hyperbolic tangent", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "tangent", + "tan", + "tanh", + "hyperbolic", + "trig", + "trigonometry", + "radians", + "angle" + ], + "extra_keywords": [ + "math.tanh" + ] + } + } }