Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_identity
Function
test_identity
numpy/polynomial/tests/test_symbol.py:209–211 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
207
208
209
def
test_identity():
210
p = poly.Polynomial.identity(domain=[-1, 1], window=[5, 20], symbol=
'z'
)
211
assert_equal(p.symbol,
'z'
)
212
213
214
def
test_basis():
Callers
nothing calls this directly
Calls
2
assert_equal
Function · 0.90
identity
Method · 0.80
Tested by
no test coverage detected