File tree Expand file tree Collapse file tree 1 file changed +138
-1
lines changed
lib/node_modules/@stdlib/math/base/special/cround Expand file tree Collapse file tree 1 file changed +138
-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/base@v1.0" ,
74+ "base_alias" : " cround" ,
75+ "alias" : " cround" ,
76+ "pkg_desc" : " round each component of a double-precision complex floating-point number to the nearest integer" ,
77+ "desc" : " rounds each component of a double-precision complex floating-point number to the nearest integer" ,
78+ "short_desc" : " round each component of a complex number to the nearest integer" ,
79+ "parameters" : [
80+ {
81+ "name" : " z" ,
82+ "desc" : " input value" ,
83+ "type" : {
84+ "javascript" : " Complex128" ,
85+ "jsdoc" : " Complex128" ,
86+ "c" : " stdlib_complex128_t" ,
87+ "dtype" : " complex128"
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" : 5.5 ,
106+ "im" : 3.3
107+ },
108+ {
109+ "re" : -4.2 ,
110+ "im" : 1.7
111+ },
112+ {
113+ "re" : 0.8 ,
114+ "im" : -0.4
115+ },
116+ {
117+ "re" : -1.5 ,
118+ "im" : 2.9
119+ },
120+ {
121+ "re" : 3.1 ,
122+ "im" : -3.7
123+ },
124+ {
125+ "re" : -2.6 ,
126+ "im" : 0.5
127+ },
128+ {
129+ "re" : 1.9 ,
130+ "im" : -1.1
131+ },
132+ {
133+ "re" : -0.3 ,
134+ "im" : 4.8
135+ },
136+ {
137+ "re" : 2.4 ,
138+ "im" : 2.6
139+ },
140+ {
141+ "re" : -3.9 ,
142+ "im" : -2.2
143+ },
144+ {
145+ "re" : 0.1 ,
146+ "im" : 1.5
147+ },
148+ {
149+ "re" : -1.7 ,
150+ "im" : -0.9
151+ },
152+ {
153+ "re" : 4.6 ,
154+ "im" : 3.5
155+ },
156+ {
157+ "re" : -5.1 ,
158+ "im" : 0.2
159+ },
160+ {
161+ "re" : 1.3 ,
162+ "im" : -4.4
163+ },
164+ {
165+ "re" : -0.6 ,
166+ "im" : 2.1
167+ },
168+ {
169+ "re" : 3.7 ,
170+ "im" : -1.8
171+ },
172+ {
173+ "re" : -2.3 ,
174+ "im" : 3.9
175+ },
176+ {
177+ "re" : 0.5 ,
178+ "im" : -0.7
179+ },
180+ {
181+ "re" : -4.8 ,
182+ "im" : 1.2
183+ }
184+ ]
185+ }
186+ ],
187+ "returns" : {
188+ "desc" : " result" ,
189+ "type" : {
190+ "javascript" : " Complex128" ,
191+ "jsdoc" : " Complex128" ,
192+ "c" : " stdlib_complex128_t" ,
193+ "dtype" : " complex128"
194+ }
195+ },
196+ "keywords" : [
197+ " cround" ,
198+ " round" ,
199+ " floor" ,
200+ " ceil" ,
201+ " integer" ,
202+ " complex" ,
203+ " cmplx"
204+ ],
205+ "extra_keywords" : []
206+ }
207+ }
71208}
You can’t perform that action at this time.
0 commit comments