File tree Expand file tree Collapse file tree 1 file changed +141
-1
lines changed
lib/node_modules/@stdlib/math/base/special/cabs2f Expand file tree Collapse file tree 1 file changed +141
-1
lines changed Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments