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

Method __invert__

src/__init__.py:8710–8714  ·  view source on GitHub ↗

Calculate inverted matrix.

(self)

Source from the content-addressed store, hash-verified

8708 if f is not None: self.f = f
8709
8710 def __invert__(self):
8711 """Calculate inverted matrix."""
8712 m1 = Matrix()
8713 m1.invert(self)
8714 return m1
8715
8716 def __len__(self):
8717 return 6

Callers

nothing calls this directly

Calls 2

invertMethod · 0.95
MatrixClass · 0.85

Tested by

no test coverage detected