MCPcopy Create free account
hub / github.com/numpy/numpy / do

Method do

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

Source from the content-addressed store, hash-verified

529class InvCases(LinalgSquareTestCase, LinalgGeneralizedSquareTestCase):
530
531 def do(self, a, b, tags):
532 a_inv = linalg.inv(a)
533 assert_almost_equal(dot_generalized(a, a_inv),
534 identity_like_generalized(a))
535 assert_(consistent_subclass(a_inv, a))
536
537
538class TestInv(InvCases):

Callers

nothing calls this directly

Calls 5

assert_almost_equalFunction · 0.90
assert_Function · 0.90
dot_generalizedFunction · 0.85
consistent_subclassFunction · 0.85

Tested by

no test coverage detected