Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ trim
Function
trim
numpy/polynomial/tests/test_polynomial.py:15–16 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
13
14
15
def
trim(x):
16
return
poly.polytrim(x, tol=1e-6)
17
18
T0 = [1]
19
T1 = [0, 1]
Callers
8
test_polyadd
Method · 0.70
test_polysub
Method · 0.70
test_polymul
Method · 0.70
test_polypow
Method · 0.70
test_polyint
Method · 0.70
test_polyder
Method · 0.70
test_polyfromroots
Method · 0.70
test_polyroots
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected