MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / __mul__

Method __mul__

src/__init__.py:8719–8724  ·  view source on GitHub ↗
(self, m)

Source from the content-addressed store, hash-verified

8717 return 6
8718
8719 def __mul__(self, m):
8720 if hasattr(m, "__float__"):
8721 return Matrix(self.a * m, self.b * m, self.c * m,
8722 self.d * m, self.e * m, self.f * m)
8723 m1 = Matrix(1,1)
8724 return m1.concat(self, m)
8725
8726 def __neg__(self):
8727 return Matrix(-self.a, -self.b, -self.c, -self.d, -self.e, -self.f)

Callers

nothing calls this directly

Calls 2

concatMethod · 0.95
MatrixClass · 0.85

Tested by

no test coverage detected