Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ is_square
Method
is_square
matrix/matrix_class.py:147–148 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
145
146
@property
147
def
is_square(self) -> bool:
148
return
self.order[0] == self.order[1]
149
150
def
identity(self) -> Matrix:
151
values = [
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected