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