#NEWLINE# def test_simple_complex_left( self ) : #NEWLINE# #INDENT# a = [ [ 3 , ( 3 + 4j ) , 5 ] , [ 5 , 2 , ( 2 + 7j ) ] , [ 3 , 2 , 7 ] ] #NEWLINE# ( q , r ) = qr ( a ) #NEWLINE# c = [ 1 , 2 , ( 3 + 4j ) ] #NEWLINE# ( qc , r ) = qr_multiply ( a , c , 'left' ) #NEWLINE# assert_array_almost_equal ( dot ( q , c ) , qc ) #NEWLINE# ( qc , r ) = qr_multiply ( a , identity ( 3 ) , 'left' ) #NEWLINE# assert_array_almost_equal ( q , qc )