Skip to content

Commit da3c88a

Browse files
chore: add structured package data for math/base/special/cphasef
PR-URL: #8751 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 7757e13 commit da3c88a

File tree

1 file changed

+138
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/cphasef

1 file changed

+138
-1
lines changed

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

Lines changed: 138 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,142 @@
6565
"complex",
6666
"cmplx",
6767
"number"
68-
]
68+
],
69+
"__stdlib__": {
70+
"scaffold": {
71+
"$schema": "math/base@v1.0",
72+
"base_alias": "cphase",
73+
"alias": "cphasef",
74+
"pkg_desc": "compute the argument of a single-precision complex floating-point number in radians",
75+
"desc": "computes the argument of a single-precision complex floating-point number in radians",
76+
"short_desc": "argument of a complex number",
77+
"parameters": [
78+
{
79+
"name": "z",
80+
"desc": "input value",
81+
"type": {
82+
"javascript": "Complex64",
83+
"jsdoc": "Complex64",
84+
"c": "stdlib_complex64_t",
85+
"dtype": "complex64"
86+
},
87+
"domain": null,
88+
"rand": {
89+
"prng": "random/base/uniform",
90+
"parameters": [
91+
[
92+
-10,
93+
10
94+
],
95+
[
96+
-10,
97+
10
98+
]
99+
]
100+
},
101+
"example_values": [
102+
{
103+
"re": 5,
104+
"im": 3
105+
},
106+
{
107+
"re": -5,
108+
"im": 3
109+
},
110+
{
111+
"re": 5,
112+
"im": -3
113+
},
114+
{
115+
"re": -5,
116+
"im": -3
117+
},
118+
{
119+
"re": 1,
120+
"im": 1
121+
},
122+
{
123+
"re": -1,
124+
"im": 1
125+
},
126+
{
127+
"re": 1,
128+
"im": -1
129+
},
130+
{
131+
"re": -1,
132+
"im": -1
133+
},
134+
{
135+
"re": 3,
136+
"im": 4
137+
},
138+
{
139+
"re": -3,
140+
"im": 4
141+
},
142+
{
143+
"re": 0,
144+
"im": 1
145+
},
146+
{
147+
"re": 0,
148+
"im": -1
149+
},
150+
{
151+
"re": 1,
152+
"im": 0
153+
},
154+
{
155+
"re": -1,
156+
"im": 0
157+
},
158+
{
159+
"re": 2,
160+
"im": 2
161+
},
162+
{
163+
"re": -2,
164+
"im": 2
165+
},
166+
{
167+
"re": 4,
168+
"im": 3
169+
},
170+
{
171+
"re": 6,
172+
"im": 8
173+
},
174+
{
175+
"re": 7,
176+
"im": 24
177+
},
178+
{
179+
"re": 0.5,
180+
"im": 0.5
181+
}
182+
]
183+
}
184+
],
185+
"returns": {
186+
"desc": "argument in radians",
187+
"type": {
188+
"javascript": "number",
189+
"jsdoc": "number",
190+
"c": "float",
191+
"dtype": "float32"
192+
}
193+
},
194+
"keywords": [
195+
"cphase",
196+
"phase",
197+
"argument",
198+
"arg",
199+
"angle",
200+
"complex",
201+
"cmplx"
202+
],
203+
"extra_keywords": []
204+
}
205+
}
69206
}

0 commit comments

Comments
 (0)