Beispiel #1
0
 def _mathstr(self, printer):
     return "%s(%s, %s, %s, %s)"%(
         type(self).__name__,
         printer.doprint(self.size),
         printer.doprint(self.center),
         mstr_inline_Matrix(self.orientation, printer=printer),
         printer.doprint(self.closed))
Beispiel #2
0
 def _sympystr(self, printer):
     return "%s(%s, %s, %s, %s)"%(
         type(self).__name__,
         printer.doprint(list(self.size)),
         printer.doprint(list(self.center)),
         mstr_inline_Matrix(self.orientation, printer=printer, aslist=True),
         printer.doprint(self.closed))
Beispiel #3
0
 def _mathstr(self, printer):
     return "%s(%s, %s)"%(
         type(self).__name__,
         mstr_inline_Matrix(self.matrix, printer=printer),
         printer.doprint(self.vector))
Beispiel #4
0
 def _sympystr(self, printer):
     return "%s(%s, %s)"%(
         type(self).__name__,
         mstr_inline_Matrix(self.matrix, printer=printer, aslist=True),
         printer.doprint(list(self.vector)))