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

Method __neg__

src/__init__.py:8726–8727  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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)
8728
8729 def __nonzero__(self):
8730 return not (max(self) == min(self) == 0)

Callers

nothing calls this directly

Calls 1

MatrixClass · 0.85

Tested by

no test coverage detected