@@ -55,8 +55,9 @@ function test_fft_backend(array_constructor; test_real=true, test_inplace=true)
5555 15.0 + 0.0im - 4.5 + 2.598076211353316im - 4.5 - 2.598076211353316im ;
5656 18.0 + 0.0im - 4.5 + 2.598076211353316im - 4.5 - 2.598076211353316im ]),
5757 (collect (reshape (1 : 8 , 2 , 2 , 2 )), 1 : 2 , true ,
58- [10.0 + 0.0im - 4.0 + 0.0im ; - 2.0 + 0.0im 0.0 + 0.0im ;;;
59- 26.0 + 0.0im - 4.0 + 0.0im ; - 2.0 + 0.0im 0.0 + 0.0im ]),
58+ cat ([10.0 + 0.0im - 4.0 + 0.0im ; - 2.0 + 0.0im 0.0 + 0.0im ],
59+ [26.0 + 0.0im - 4.0 + 0.0im ; - 2.0 + 0.0im 0.0 + 0.0im ],
60+ dims= 3 )),
6061 (collect (1 : 7 ) + im * collect (8 : 14 ), 1 , false ,
6162 [28.0 + 77.0im ,
6263 - 10.76782488800318 + 3.767824888003175im ,
@@ -66,8 +67,9 @@ function test_fft_backend(array_constructor; test_real=true, test_inplace=true)
6667 - 0.7088431389115866 - 6.291156861088417im ,
6768 3.767824888003177 - 10.76782488800318im ]),
6869 (collect (reshape (1 : 8 , 2 , 2 , 2 )) + im * reshape (9 : 16 , 2 , 2 , 2 ), 1 : 2 , false ,
69- [10.0 + 42.0im - 4.0 - 4.0im ; - 2.0 - 2.0im 0.0 + 0.0im ;;;
70- 26.0 + 58.0im - 4.0 - 4.0im ; - 2.0 - 2.0im 0.0 + 0.0im ]),
70+ cat ([10.0 + 42.0im - 4.0 - 4.0im ; - 2.0 - 2.0im 0.0 + 0.0im ],
71+ [26.0 + 58.0im - 4.0 - 4.0im ; - 2.0 - 2.0im 0.0 + 0.0im ],
72+ dims= 3 )),
7173 )
7274 x = array_constructor (_x) # dummy array that will be passed to plans
7375 x_complex = complex .(float .(x)) # for testing complex FFTs
0 commit comments