def transform(self, m):
if len(m) != <NUM_LIT:6>:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self.ul *= m<EOL>self.ur *= m<EOL>self.ll *= m<EOL>self.lr *= m<EOL>return self<EOL>
Replace quad by its transformation with matrix m.