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_twodim_base.py:18–21 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
16
17
18
def
get_mat(n):
19
data = arange(n)
20
data = add.outer(data, data)
21
return
data
22
23
24
class
TestEye:
Callers
4
test_matrix
Method · 0.70
test_fortran_order
Method · 0.70
test_basic
Method · 0.70
test_basic
Method · 0.70
Calls
2
arange
Function · 0.90
outer
Method · 0.45
Tested by
no test coverage detected