Skip to content

Commit bbcaf4d

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/cexp
PR-URL: #8456 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 8738587 commit bbcaf4d

1 file changed

Lines changed: 133 additions & 1 deletion

File tree

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

Lines changed: 133 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,137 @@
6464
"exp",
6565
"pow",
6666
"cexp"
67-
]
67+
],
68+
"__stdlib__": {
69+
"scaffold": {
70+
"$schema": "math/base@v1.0",
71+
"base_alias": "cexp",
72+
"alias": "cexp",
73+
"pkg_desc": "evaluate the exponential function for a double-precision complex floating-point number",
74+
"desc": "evaluates the exponential function for a double-precision complex floating-point number",
75+
"short_desc": "exponential function",
76+
"parameters": [
77+
{
78+
"name": "x",
79+
"desc": "input value",
80+
"type": {
81+
"javascript": "Complex128",
82+
"jsdoc": "Complex128",
83+
"c": "stdlib_complex128_t",
84+
"dtype": "complex128"
85+
},
86+
"domain": null,
87+
"rand": {
88+
"prng": "random/base/uniform",
89+
"parameters": [
90+
[
91+
-10,
92+
10
93+
],
94+
[
95+
-10,
96+
10
97+
]
98+
]
99+
},
100+
"example_values": [
101+
{
102+
"re": -3.14,
103+
"im": -1.5
104+
},
105+
{
106+
"re": 0,
107+
"im": 0
108+
},
109+
{
110+
"re": -1.5,
111+
"im": 2.5
112+
},
113+
{
114+
"re": 2.5,
115+
"im": -1.5
116+
},
117+
{
118+
"re": 0,
119+
"im": -3.7
120+
},
121+
{
122+
"re": 4.2,
123+
"im": 0
124+
},
125+
{
126+
"re": 21.2,
127+
"im": 3
128+
},
129+
{
130+
"re": 11,
131+
"im": -5
132+
},
133+
{
134+
"re": 33,
135+
"im": -14.67
136+
},
137+
{
138+
"re": -42,
139+
"im": 9.3
140+
},
141+
{
142+
"re": -3,
143+
"im": 3
144+
},
145+
{
146+
"re": 73,
147+
"im": 31
148+
},
149+
{
150+
"re": -2.45,
151+
"im": 1.23
152+
},
153+
{
154+
"re": 2.45,
155+
"im": -1.23
156+
},
157+
{
158+
"re": 1.77,
159+
"im": -3.14
160+
},
161+
{
162+
"re": -7.5,
163+
"im": 8.2
164+
},
165+
{
166+
"re": 5.5,
167+
"im": -12.3
168+
},
169+
{
170+
"re": -15.8,
171+
"im": 0.4
172+
},
173+
{
174+
"re": 0.99,
175+
"im": -0.99
176+
}
177+
]
178+
}
179+
],
180+
"returns": {
181+
"desc": "function value",
182+
"type": {
183+
"javascript": "Complex128",
184+
"jsdoc": "Complex128",
185+
"c": "stdlib_complex128_t",
186+
"dtype": "complex128"
187+
}
188+
},
189+
"keywords": [
190+
"complex",
191+
"cmplx",
192+
"exponential",
193+
"exp",
194+
"pow",
195+
"cexp"
196+
],
197+
"extra_keywords": []
198+
}
199+
}
68200
}

0 commit comments

Comments
 (0)