#NEWLINE# def __neg__( self ) : #NEWLINE# #INDENT# negative = [ ] #NEWLINE# for element in self . array : #NEWLINE# #INDENT# negative . append ( ( - element ) ) #NEWLINE# #UNINDENT# return Matrix ( self . rows , negative . cols , negative )