Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ trim
Function
trim
numpy/polynomial/tests/test_legendre.py:27–28 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
25
26
27
def
trim(x):
28
return
leg.legtrim(x, tol=1e-6)
29
30
31
class
TestConstants:
Callers
8
test_legadd
Method · 0.70
test_legsub
Method · 0.70
test_legdiv
Method · 0.70
test_legpow
Method · 0.70
test_legint
Method · 0.70
test_legder
Method · 0.70
test_legfromroots
Method · 0.70
test_legroots
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected