Advertisement
Guest User

Untitled

a guest
Jun 13th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. def norm_oo(f, _domain=np.linspace(0, 1, 1000)):
  2. vec_f = np.vectorize(f)
  3. return np.amax(np.abs(vec_f(_domain)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement