#NEWLINE# def _test_n_argument_complex( self ) : #NEWLINE# #INDENT# x1 = np . array ( [ 1 , 2 , 3 , ( 4 + 1j ) ] , dtype = self . cdt ) #NEWLINE# x2 = np . array ( [ 1 , 2 , 3 , ( 4 + 1j ) ] , dtype = self . cdt ) #NEWLINE# y = fft ( [ x1 , x2 ] , n = 4 ) #NEWLINE# assert_equal ( y . dtype , self . cdt ) #NEWLINE# assert_equal ( y . shape , ( 2 , 4 ) ) #NEWLINE# assert_array_almost_equal ( y [ 0 ] , direct_dft ( x1 ) ) #NEWLINE# assert_array_almost_equal ( y [ 1 ] , direct_dft ( x2 ) )