#NEWLINE# def _update( self , x , f , dx , df , dx_norm , df_norm ) : #NEWLINE# #INDENT# self . _reduce ( ) #NEWLINE# v = df #NEWLINE# c = ( dx - self . Gm . matvec ( df ) ) #NEWLINE# d = ( v / ( df_norm ** 2 ) ) #NEWLINE# self . Gm . append ( d , d )