Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _fake_trapz
Function
_fake_trapz
numpy/lib/function_base.py:4995–4996 ·
view source on GitHub ↗
(y, x=None, dx=1.0, axis=-1)
Source
from the content-addressed store, hash-verified
4993
assert not hasattr(trapz,
"__code__"
)
4994
4995
def
_fake_trapz(y, x=None, dx=1.0, axis=-1):
4996
return
trapz(y, x=x, dx=dx, axis=axis)
4997
4998
4999
trapz.__code__ = _fake_trapz.__code__
Callers
nothing calls this directly
Calls
1
trapz
Function · 0.85
Tested by
no test coverage detected