#NEWLINE# def _test_common( self , data ) : #NEWLINE# #INDENT# ( p , l , u ) = lu ( data ) #NEWLINE# assert_array_almost_equal ( dot ( dot ( p , l ) , u ) , data ) #NEWLINE# ( pl , u ) = lu ( data , permute_l = 1 ) #NEWLINE# assert_array_almost_equal ( dot ( pl , u ) , data )