@@ -24,15 +24,15 @@ import Complex128Array = require( '@stdlib/array/complex128' );
2424
2525// The function returns a Complex128Array...
2626{
27- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
27+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
2828 const B = new Complex128Array ( 4 ) ;
2929
3030 zlacpy ( 'row-major' , 'all' , 2 , 2 , A , 2 , B , 2 ) ; // $ExpectType Complex128Array
3131}
3232
3333// The compiler throws an error if the function is provided a first argument which is not a string...
3434{
35- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
35+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
3636 const B = new Complex128Array ( 4 ) ;
3737
3838 zlacpy ( 5 , 'all' , 2 , 2 , A , 2 , B , 2 ) ; // $ExpectError
@@ -47,7 +47,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
4747
4848// The compiler throws an error if the function is provided a second argument which is not a string...
4949{
50- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
50+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
5151 const B = new Complex128Array ( 4 ) ;
5252
5353 zlacpy ( 'row-major' , 5 , 2 , 2 , A , 2 , B , 2 ) ; // $ExpectError
@@ -62,7 +62,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
6262
6363// The compiler throws an error if the function is provided a third argument which is not a number...
6464{
65- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
65+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
6666 const B = new Complex128Array ( 4 ) ;
6767
6868 zlacpy ( 'row-major' , 'all' , '5' , 2 , A , 2 , B , 2 ) ; // $ExpectError
@@ -77,7 +77,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
7777
7878// The compiler throws an error if the function is provided a fourth argument which is not a number...
7979{
80- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
80+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
8181 const B = new Complex128Array ( 4 ) ;
8282
8383 zlacpy ( 'row-major' , 'all' , 2 , '5' , A , 2 , B , 2 ) ; // $ExpectError
@@ -107,7 +107,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
107107
108108// The compiler throws an error if the function is provided a sixth argument which is not a number...
109109{
110- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
110+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
111111 const B = new Complex128Array ( 4 ) ;
112112
113113 zlacpy ( 'row-major' , 'all' , 2 , 2 , A , '5' , B , 2 ) ; // $ExpectError
@@ -122,7 +122,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
122122
123123// The compiler throws an error if the function is provided a seventh argument which is not a Complex128Array...
124124{
125- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
125+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
126126
127127 zlacpy ( 'row-major' , 'all' , 2 , 2 , A , 2 , '5' , 2 ) ; // $ExpectError
128128 zlacpy ( 'row-major' , 'all' , 2 , 2 , A , 2 , 5 , 2 ) ; // $ExpectError
@@ -137,7 +137,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
137137
138138// The compiler throws an error if the function is provided an eighth argument which is not a number...
139139{
140- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
140+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
141141 const B = new Complex128Array ( 4 ) ;
142142
143143 zlacpy ( 'row-major' , 'all' , 2 , 2 , A , 2 , B , '5' ) ; // $ExpectError
@@ -152,7 +152,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
152152
153153// The compiler throws an error if the function is provided an unsupported number of arguments...
154154{
155- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
155+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
156156 const B = new Complex128Array ( 4 ) ;
157157
158158 zlacpy ( ) ; // $ExpectError
@@ -168,15 +168,15 @@ import Complex128Array = require( '@stdlib/array/complex128' );
168168
169169// Attached to main export is an `ndarray` method which returns a Complex128Array...
170170{
171- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
171+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
172172 const B = new Complex128Array ( 4 ) ;
173173
174174 zlacpy . ndarray ( 'all' , 2 , 2 , A , 2 , 1 , 0 , B , 2 , 1 , 0 ) ; // $ExpectType Complex128Array
175175}
176176
177177// The compiler throws an error if the function is provided a first argument which is not a string...
178178{
179- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
179+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
180180 const B = new Complex128Array ( 4 ) ;
181181
182182 zlacpy . ndarray ( 5 , 2 , 2 , A , 2 , 1 , 0 , B , 2 , 1 , 0 ) ; // $ExpectError
@@ -191,7 +191,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
191191
192192// The compiler throws an error if the function is provided a second argument which is not a number...
193193{
194- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
194+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
195195 const B = new Complex128Array ( 4 ) ;
196196
197197 zlacpy . ndarray ( 'all' , '5' , 2 , A , 2 , 1 , 0 , B , 2 , 1 , 0 ) ; // $ExpectError
@@ -206,7 +206,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
206206
207207// The compiler throws an error if the function is provided a third argument which is not a number...
208208{
209- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
209+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
210210 const B = new Complex128Array ( 4 ) ;
211211
212212 zlacpy . ndarray ( 'all' , 2 , '5' , A , 2 , 1 , 0 , B , 2 , 1 , 0 ) ; // $ExpectError
@@ -236,7 +236,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
236236
237237// The compiler throws an error if the function is provided a fifth argument which is not a number...
238238{
239- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
239+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
240240 const B = new Complex128Array ( 4 ) ;
241241
242242 zlacpy . ndarray ( 'all' , 2 , 2 , A , '5' , 1 , 0 , B , 2 , 1 , 0 ) ; // $ExpectError
@@ -251,7 +251,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
251251
252252// The compiler throws an error if the function is provided a sixth argument which is not a number...
253253{
254- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
254+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
255255 const B = new Complex128Array ( 4 ) ;
256256
257257 zlacpy . ndarray ( 'all' , 2 , 2 , A , 2 , '5' , 0 , B , 2 , 1 , 0 ) ; // $ExpectError
@@ -266,7 +266,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
266266
267267// The compiler throws an error if the function is provided a seventh argument which is not a number...
268268{
269- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
269+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
270270 const B = new Complex128Array ( 4 ) ;
271271
272272 zlacpy . ndarray ( 'all' , 2 , 2 , A , 2 , 1 , '5' , B , 2 , 1 , 0 ) ; // $ExpectError
@@ -281,7 +281,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
281281
282282// The compiler throws an error if the function is provided an eighth argument which is not a Complex128Array...
283283{
284- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
284+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
285285
286286 zlacpy . ndarray ( 'all' , 2 , 2 , A , 2 , 1 , 0 , '5' , 2 , 1 , 0 ) ; // $ExpectError
287287 zlacpy . ndarray ( 'all' , 2 , 2 , A , 2 , 1 , 0 , 5 , 2 , 1 , 0 ) ; // $ExpectError
@@ -296,7 +296,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
296296
297297// The compiler throws an error if the function is provided a ninth argument which is not a number...
298298{
299- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
299+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
300300 const B = new Complex128Array ( 4 ) ;
301301
302302 zlacpy . ndarray ( 'all' , 2 , 2 , A , 2 , 1 , 0 , B , '5' , 1 , 0 ) ; // $ExpectError
@@ -311,7 +311,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
311311
312312// The compiler throws an error if the function is provided a tenth argument which is not a number...
313313{
314- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
314+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
315315 const B = new Complex128Array ( 4 ) ;
316316
317317 zlacpy . ndarray ( 'all' , 2 , 2 , A , 2 , 1 , 0 , B , 2 , '5' , 0 ) ; // $ExpectError
@@ -326,7 +326,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
326326
327327// The compiler throws an error if the function is provided an eleventh argument which is not a number...
328328{
329- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
329+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
330330 const B = new Complex128Array ( 4 ) ;
331331
332332 zlacpy . ndarray ( 'all' , 2 , 2 , A , 2 , 1 , 0 , B , 2 , 1 , '5' ) ; // $ExpectError
@@ -341,7 +341,7 @@ import Complex128Array = require( '@stdlib/array/complex128' );
341341
342342// The compiler throws an error if the `ndarray` method is provided an unsupported number of arguments...
343343{
344- const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 ] ) ;
344+ const A = new Complex128Array ( [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 ] ) ;
345345 const B = new Complex128Array ( 4 ) ;
346346
347347 zlacpy . ndarray ( ) ; // $ExpectError
0 commit comments