-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9fce53b
commit 490c78e
Showing
2 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,5 +66,80 @@ | |
"euler", | ||
"power", | ||
"number" | ||
] | ||
], | ||
"__stdlib__": { | ||
"scaffold": { | ||
"$schema": "math/[email protected]", | ||
"base_alias": "exp", | ||
"alias": "exp", | ||
"pkg_desc": "evaluate the natural exponential function", | ||
"desc": "evaluates the natural exponential function", | ||
"short_desc": "natural exponential function", | ||
"parameters": [ | ||
{ | ||
"name": "x", | ||
"desc": "input value", | ||
"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.7, | ||
5.5, | ||
6.7, | ||
8.9, | ||
-10.2, | ||
11.3, | ||
-12.4, | ||
13.5, | ||
14.6, | ||
-15.7, | ||
16.8, | ||
-17.9, | ||
18.10, | ||
-19.11, | ||
20.12, | ||
-21.15, | ||
23.78 | ||
] | ||
} | ||
], | ||
"returns": { | ||
"desc": "function value", | ||
"type": { | ||
"javascript": "number", | ||
"jsdoc": "number", | ||
"c": "double", | ||
"dtype": "float64" | ||
} | ||
}, | ||
"keywords": [ | ||
"natural", | ||
"exponential", | ||
"exp", | ||
"power" | ||
], | ||
"extra_keywords": [ | ||
"math.exp" | ||
] | ||
} | ||
} | ||
} |