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

Method do

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

Source from the content-addressed store, hash-verified

463class SolveCases(LinalgSquareTestCase, LinalgGeneralizedSquareTestCase):
464 # kept apart from TestSolve for use for testing with matrices.
465 def do(self, a, b, tags):
466 x = linalg.solve(a, b)
467 assert_almost_equal(b, dot_generalized(a, x))
468 assert_(consistent_subclass(x, b))
469
470
471class TestSolve(SolveCases):

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected