MCPcopy Index your code
hub / github.com/numpy/numpy / test_dot_out

Method test_dot_out

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

Source from the content-addressed store, hash-verified

870 assert_(type(dot(b, b)) is MaskedArray)
871
872 def test_dot_out(self):
873 a = array(np.eye(3))
874 out = array(np.zeros((3, 3)))
875 res = dot(a, a, out=out)
876 assert_(res is out)
877 assert_equal(a, res)
878
879
880class TestApplyAlongAxis:

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected