code: def encode(self):
          
          return '{:.6f} {:.6f} {:.6f} {:.6f} {:.6f} {:.6f}'.format(
              self.a, self.b, self.c, self.d, self.e, self.f
          ).encode()
docs: Encode this matrix in binary suitable for including in a PDF