Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ func
Function
func
recipes/Python/579010_oscylator/recipe-579010.py:10–12 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
8
9
10
def
func(t):
11
f = np.exp(-t)*np.cos(20.0*np.pi*t)
12
return
f
13
14
def
funkcja(t):
15
f = np.exp(-t)*np.cos(20.0*np.pi*t)+0.5*np.exp(-t/0.5)*np.cos(10.0*np.pi*t)
Callers
15
recipe-579010.py
File · 0.70
partial
Function · 0.50
directional_derivative
Function · 0.50
numeric_derivative
Function · 0.50
__ror__
Method · 0.50
run_in_separate_process
Function · 0.50
_run_handlers
Function · 0.50
Wrapper
Method · 0.50
wrapper
Method · 0.50
true_gen
Function · 0.50
false_gen
Function · 0.50
_apply
Method · 0.50
Calls
2
exp
Method · 0.80
cos
Method · 0.80
Tested by
2
test_zero
Method · 0.40
test_year
Method · 0.40