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

Function get_mat

numpy/lib/tests/test_function_base.py:31–34  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

29
30
31def get_mat(n):
32 data = np.arange(n)
33 data = np.add.outer(data, data)
34 return data
35
36
37def _make_complex(real, imag):

Callers 2

test_basic_lrMethod · 0.70
test_basic_udMethod · 0.70

Calls 1

outerMethod · 0.45

Tested by

no test coverage detected