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

Method test_dot_2args

numpy/_core/tests/test_multiarray.py:7601–7608  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7599 assert_equal(zeros[1].array, zeros_test[1].array)
7600
7601 def test_dot_2args(self):
7602
7603 a = np.array([[1, 2], [3, 4]], dtype=float)
7604 b = np.array([[1, 0], [1, 1]], dtype=float)
7605 c = np.array([[3, 2], [7, 4]], dtype=float)
7606
7607 d = dot(a, b)
7608 assert_allclose(c, d)
7609
7610 def test_dot_3args(self):
7611

Callers

nothing calls this directly

Calls 2

dotFunction · 0.90
assert_allcloseFunction · 0.90

Tested by

no test coverage detected