Skip to content

issue with norm #4206

@LukeOeding

Description

@LukeOeding

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions