Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def norm_oo(f, _domain=np.linspace(0, 1, 1000)):
- vec_f = np.vectorize(f)
- return np.amax(np.abs(vec_f(_domain)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement