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

Method test_dot_out

numpy/ma/tests/test_extras.py:784–789  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

782 assert_(type(dot(b, b)) is MaskedArray)
783
784 def test_dot_out(self):
785 a = array(np.eye(3))
786 out = array(np.zeros((3, 3)))
787 res = dot(a, a, out=out)
788 assert_(res is out)
789 assert_equal(a, res)
790
791
792class TestApplyAlongAxis:

Callers

nothing calls this directly

Calls 4

arrayFunction · 0.90
assert_equalFunction · 0.90
dotFunction · 0.50
assert_Function · 0.50

Tested by

no test coverage detected