#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# 'creates inputs' #NEWLINE# self . data1 = np . array ( [ [ 1 , 3 ] , [ 1 , 2 ] , [ 1 , 1 ] , [ 2 , 1 ] ] , 'd' ) #NEWLINE# self . data2 = np . array ( [ [ 4 , ( - 2 ) ] , [ 4 , ( - 4 ) ] , [ 4 , ( - 6 ) ] , [ 2 , ( - 6 ) ] ] , 'd' ) #NEWLINE# self . data3 = np . array ( [ [ 2 , 4 ] , [ 2 , 3 ] , [ 2 , 2 ] , [ 3 , 2.5 ] ] , 'd' ) #NEWLINE# shiftangle = ( np . pi / 8 ) #NEWLINE# self . data4 = ( np . array ( [ [ 1 , 0 ] , [ 0 , 1 ] , [ ( - 1 ) , 0 ] , [ 0 , ( - 1 ) ] ] , 'd' ) / np . sqrt ( 4 ) ) #NEWLINE# self . data5 = ( np . array ( [ [ np . cos ( shiftangle ) , np . sin ( shiftangle ) ] , [ np . cos ( ( ( np . pi / 2 ) - shiftangle ) ) , np . sin ( ( ( np . pi / 2 ) - shiftangle ) ) ] , [ ( - np . cos ( shiftangle ) ) , ( - np . sin ( shiftangle ) ) ] , [ ( - np . cos ( ( ( np . pi / 2 ) - self ) ) ) , ( - np . sin ( ( ( np . pi / 2 ) - shiftangle ) ) ) ] ] , 'd' ) / np . sqrt ( 4 ) )