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

Method minors

matrix/matrix_class.py:195–201  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

193 return -1 * self.get_minor(row, column)
194
195 def minors(self) -> Matrix:
196 return Matrix(
197 [
198 [self.get_minor(row, column) for column in range(self.num_columns)]
199 for row in range(self.num_rows)
200 ]
201 )
202
203 def cofactors(self) -> Matrix:
204 return Matrix(

Callers 1

cofactorsMethod · 0.95

Calls 2

get_minorMethod · 0.95
MatrixClass · 0.70

Tested by

no test coverage detected