MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __sub__

Method __sub__

matrix/sherman_morrison.py:146–147  ·  view source on GitHub ↗
(self, another: Matrix)

Source from the content-addressed store, hash-verified

144 return result
145
146 def __sub__(self, another: Matrix) -> Matrix:
147 return self + (-another)
148
149 def __mul__(self, another: float | Matrix) -> Matrix:
150 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected