Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bgrimstad/splinter
/ f1
Function
f1
python/examples/bspline.py:21–22 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
19
20
# Example with one variable
21
def
f1(x):
22
return
-1. + 2*x + 0.1*(x**2) + 10*np.random.rand(1)[0]
23
24
x = np.arange(0, 11, 1)
25
y = np.zeros((len(x),))
Callers
1
bspline.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected