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

Function get_mat

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

Source from the content-addressed store, hash-verified

66np_floats = [np.half, np.single, np.double, np.longdouble]
67
68def get_mat(n):
69 data = np.arange(n)
70 data = np.add.outer(data, data)
71 return data
72
73
74def _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

Used in the wild real call sites across dependent graphs

searching dependent graphs…