#NEWLINE# @ staticmethod #NEWLINE# def cast( value , example ) : #NEWLINE# #INDENT# result = complex_arraycast ( value ) #NEWLINE# if ( value . shape != example . shape ) : #NEWLINE# #INDENT# result = result . reshape ( example . shape ) #NEWLINE# #UNINDENT# return result