Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ trim
Function
trim
numpy/polynomial/tests/test_chebyshev.py:14–15 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
12
13
14
def
trim(x):
15
return
cheb.chebtrim(x, tol=1e-6)
16
17
T0 = [1]
18
T1 = [0, 1]
Callers
9
test_chebadd
Method · 0.70
test_chebsub
Method · 0.70
test_chebmul
Method · 0.70
test_chebdiv
Method · 0.70
test_chebpow
Method · 0.70
test_chebint
Method · 0.70
test_chebder
Method · 0.70
test_chebfromroots
Method · 0.70
test_chebroots
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected