#NEWLINE# @ staticmethod #NEWLINE# def _array_to_return( a , mode ) : #NEWLINE# #INDENT# if ( mode == 0 ) : #NEWLINE# #INDENT# return ( a [ 0 ] [ 0 ] , a [ 0 ] [ 1 ] , a [ 0 ] [ 2 ] ) #NEWLINE# #UNINDENT# if ( mode == 1 ) : #NEWLINE# #INDENT# return ( a [ : , 0 ] , a [ : , 1 ] , a [ : , 2 ] ) #NEWLINE# #UNINDENT# if ( mode == 2 ) : #NEWLINE# #INDENT# return a #NEWLINE# #UNINDENT# if ( mode == 3 ) : #NEWLINE# #INDENT# return a . transpose ( ) #NEWLINE# #UNINDENT# return a [ 0 ]