I'm having trouble getting the expected behavior from "norm".
Here's what I tried:
v = random(RR^2,RR^1)
norm(v)
norm_2 v
norm(2, v)
norm(2_RR, v)
norm(infinity, v)
Only the first one and last one execute, and both give the L^infinity norm. Of course I can implement my own 2-norm, but I would have expected this to work with any integer, certainly 2, or positive real number since the documentation says that I can do that.
I'm having trouble getting the expected behavior from "norm".
Here's what I tried:
Only the first one and last one execute, and both give the L^infinity norm. Of course I can implement my own 2-norm, but I would have expected this to work with any integer, certainly 2, or positive real number since the documentation says that I can do that.