MCPcopy
hub / github.com/numpy/numpy / do

Method do

numpy/linalg/tests/test_linalg.py:583–587  ·  view source on GitHub ↗
(self, a, b, tags)

Source from the content-addressed store, hash-verified

581class InvCases(LinalgSquareTestCase, LinalgGeneralizedSquareTestCase):
582
583 def do(self, a, b, tags):
584 a_inv = linalg.inv(a)
585 assert_almost_equal(matmul(a, a_inv),
586 identity_like_generalized(a))
587 assert_(consistent_subclass(a_inv, a))
588
589
590class TestInv(InvCases):

Callers

nothing calls this directly

Calls 5

assert_almost_equalFunction · 0.90
matmulFunction · 0.90
assert_Function · 0.90
consistent_subclassFunction · 0.85

Tested by

no test coverage detected