#NEWLINE# def _set_arr_complex( self , value ) : #NEWLINE# #INDENT# 'Set an array value, complex support.' #NEWLINE# if self . probdata . in_complex_step : #NEWLINE# #INDENT# self . val [ : ] = real ( value . flat ) #NEWLINE# self . imag_val [ : ] = imag ( value . flat ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . val [ : ] = value . flat