Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
def
get_mat(n):
32
data = np.arange(n)
33
data = np.add.outer(data, data)
34
return
data
35
36
37
def
_make_complex(real, imag):
Callers
2
test_basic_lr
Method · 0.70
test_basic_ud
Method · 0.70
Calls
1
outer
Method · 0.45
Tested by
no test coverage detected