Skip to content

Commit 9526fdd

Browse files
committed
Auto-generated commit
1 parent a87759d commit 9526fdd

File tree

2 files changed

+142
-1
lines changed

2 files changed

+142
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ A total of 69 issues were closed in this release:
687687

688688
<details>
689689

690+
- [`4bd3187`](https://github.com/stdlib-js/stdlib/commit/4bd3187772a93f0c21cd4cd8e7229329c2a0dcb6) - **chore:** add structured package data for `math/base/special/cabs2f` [(#8292)](https://github.com/stdlib-js/stdlib/pull/8292) _(by Nakul Krishnakumar, Athan Reines)_
690691
- [`2655852`](https://github.com/stdlib-js/stdlib/commit/265585216921754538d4eff3791f67ca17a4441c) - **chore:** add structured package data for `math/base/special/cabs2` [(#8271)](https://github.com/stdlib-js/stdlib/pull/8271) _(by Nakul Krishnakumar, Athan Reines, Gunj Joshi)_
691692
- [`f0b8248`](https://github.com/stdlib-js/stdlib/commit/f0b824896b0a8d93e550c490f17b538122a530c0) - **chore:** add structured package data for `math/base/special/bernoulli` [(#8277)](https://github.com/stdlib-js/stdlib/pull/8277) _(by Manvith M, Athan Reines)_
692693
- [`4126672`](https://github.com/stdlib-js/stdlib/commit/41266720aa68fb932272101857bac854d7fde9d0) - **chore:** add structured package data for `math/base/special/tribonaccif` [(#8284)](https://github.com/stdlib-js/stdlib/pull/8284) _(by Manvith M, Athan Reines)_

base/special/cabs2f/package.json

Lines changed: 141 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,145 @@
6767
"complex",
6868
"cmplx",
6969
"number"
70-
]
70+
],
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/[email protected]",
74+
"base_alias": "abs2",
75+
"alias": "cabs2f",
76+
"pkg_desc": "compute the squared absolute value of a single-precision complex floating-point number",
77+
"desc": "computes the squared absolute value of a single-precision complex floating-point number",
78+
"short_desc": "squared absolute value",
79+
"parameters": [
80+
{
81+
"name": "z",
82+
"desc": "input value",
83+
"type": {
84+
"javascript": "Complex64",
85+
"jsdoc": "Complex64",
86+
"c": "stdlib_complex64_t",
87+
"dtype": "complex64"
88+
},
89+
"domain": null,
90+
"rand": {
91+
"prng": "random/base/uniform",
92+
"parameters": [
93+
[
94+
-10,
95+
10
96+
],
97+
[
98+
-10,
99+
10
100+
]
101+
]
102+
},
103+
"example_values": [
104+
{
105+
"re": -3.14,
106+
"im": -1.5
107+
},
108+
{
109+
"re": 0,
110+
"im": 0
111+
},
112+
{
113+
"re": -1.5,
114+
"im": 2.5
115+
},
116+
{
117+
"re": 2.5,
118+
"im": -1.5
119+
},
120+
{
121+
"re": 0,
122+
"im": -3.7
123+
},
124+
{
125+
"re": 4.2,
126+
"im": 0
127+
},
128+
{
129+
"re": 21.2,
130+
"im": 3
131+
},
132+
{
133+
"re": 11,
134+
"im": -5
135+
},
136+
{
137+
"re": 33,
138+
"im": -14.67
139+
},
140+
{
141+
"re": -42,
142+
"im": 9.3
143+
},
144+
{
145+
"re": -3,
146+
"im": 3
147+
},
148+
{
149+
"re": 73,
150+
"im": 31
151+
},
152+
{
153+
"re": -2.45,
154+
"im": 1.23
155+
},
156+
{
157+
"re": 2.45,
158+
"im": -1.23
159+
},
160+
{
161+
"re": 1.77,
162+
"im": -3.14
163+
},
164+
{
165+
"re": -7.5,
166+
"im": 8.2
167+
},
168+
{
169+
"re": 5.5,
170+
"im": -12.3
171+
},
172+
{
173+
"re": -15.8,
174+
"im": 0.4
175+
},
176+
{
177+
"re": 0.99,
178+
"im": -0.99
179+
},
180+
{
181+
"re": 0.43,
182+
"im": 0.91
183+
}
184+
]
185+
}
186+
],
187+
"output_policy": "real_floating_point_and_generic",
188+
"returns": {
189+
"desc": "absolute value",
190+
"type": {
191+
"javascript": "number",
192+
"jsdoc": "number",
193+
"c": "float",
194+
"dtype": "float32"
195+
}
196+
},
197+
"keywords": [
198+
"abs2",
199+
"squared",
200+
"absolute",
201+
"magnitude",
202+
"distance",
203+
"complex",
204+
"cmplx"
205+
],
206+
"extra_keywords": [
207+
"math.abs"
208+
]
209+
}
210+
}
71211
}

0 commit comments

Comments
 (0)