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

Method test_large

numpy/lib/tests/test_function_base.py:1392–1396  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1390 assert_array_equal(r, [5, 8, 1, 4])
1391
1392 def test_large(self):
1393 x = np.linspace(-3, 2, 10000)
1394 f = vectorize(lambda x: x)
1395 y = f(x)
1396 assert_array_equal(y, x)
1397
1398 def test_ufunc(self):
1399 f = vectorize(math.cos)

Callers

nothing calls this directly

Calls 4

vectorizeClass · 0.90
assert_array_equalFunction · 0.90
fFunction · 0.85
linspaceMethod · 0.80

Tested by

no test coverage detected