Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ __repr__
Method
__repr__
matrix/matrix_class.py:229–230 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
227
return
self.adjugate() * (1 / determinant)
228
229
def
__repr__(self) -> str:
230
return
str(self.rows)
231
232
def
__str__(self) -> str:
233
if
self.num_rows == 0:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected