MCPcopy Create free account
hub / github.com/bgrimstad/splinter / f

Function f

python/examples/bspline_multivariate.py:24–25  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

22
23# Example with two variables
24def f(x):
25 return x[0]*x[1]
26
27x1 = np.arange(-5, 5, 0.25)
28x2 = np.arange(-5, 5, 0.25)

Callers 1

evalMethod · 0.85

Calls

no outgoing calls

Tested by 1

evalMethod · 0.68