MCPcopy
hub / github.com/MorvanZhou/tutorials / f

Function f

matplotlibTUT/plt12_contours.py:17–19  ·  view source on GitHub ↗
(x,y)

Source from the content-addressed store, hash-verified

15import numpy as np
16
17def f(x,y):
18 # the height function
19 return (1 - x / 2 + x**5 + y**3) * np.exp(-x**2 -y**2)
20
21n = 256
22x = np.linspace(-3, 3, n)

Callers 3

plt12_contours.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected