Skip to content

Commit 595c932

Browse files
gunjjoshikgryte
andauthored
chore: add structured package data for math/base/special/exp
PR-URL: #2893 Ref: #1147 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]> Signed-off-by: Gunj Joshi <[email protected]>
1 parent 4340ba6 commit 595c932

File tree

1 file changed

+76
-1
lines changed

1 file changed

+76
-1
lines changed

lib/node_modules/@stdlib/math/base/special/exp/package.json

+76-1
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,80 @@
6666
"euler",
6767
"power",
6868
"number"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/[email protected]",
73+
"base_alias": "exp",
74+
"alias": "exp",
75+
"pkg_desc": "evaluate the natural exponential function",
76+
"desc": "evaluates the natural exponential function",
77+
"short_desc": "natural exponential function",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "double",
86+
"dtype": "float64"
87+
},
88+
"domain": [
89+
{
90+
"min": "-infinity",
91+
"max": "infinity"
92+
}
93+
],
94+
"rand": {
95+
"prng": "random/base/uniform",
96+
"parameters": [
97+
-10.0,
98+
10.0
99+
]
100+
},
101+
"example_values": [
102+
-1.2,
103+
2.0,
104+
-3.1,
105+
-4.7,
106+
5.5,
107+
6.7,
108+
8.9,
109+
-10.2,
110+
11.3,
111+
-12.4,
112+
13.5,
113+
14.6,
114+
-15.7,
115+
16.8,
116+
-17.9,
117+
18.10,
118+
-19.11,
119+
20.12,
120+
-21.15,
121+
23.78
122+
]
123+
}
124+
],
125+
"returns": {
126+
"desc": "function value",
127+
"type": {
128+
"javascript": "number",
129+
"jsdoc": "number",
130+
"c": "double",
131+
"dtype": "float64"
132+
}
133+
},
134+
"keywords": [
135+
"natural",
136+
"exponential",
137+
"exp",
138+
"power"
139+
],
140+
"extra_keywords": [
141+
"math.exp"
142+
]
143+
}
144+
}
70145
}

0 commit comments

Comments
 (0)