#NEWLINE# def test_simple_fat_e( self ) : #NEWLINE# #INDENT# a = [ [ 8 , 2 , 3 ] , [ 2 , 9 , 5 ] ] #NEWLINE# ( q , r ) = qr ( q , mode = 'economic' ) #NEWLINE# assert_array_almost_equal ( dot ( transpose ( q ) , q ) , identity ( 2 ) ) #NEWLINE# assert_array_almost_equal ( dot ( q , r ) , a ) #NEWLINE# assert_equal ( q . shape , ( 2 , 2 ) ) #NEWLINE# assert_equal ( r . shape , ( 2 , 3 ) )