Ask Your Question

Revision history [back]

This is it. You can access the documentation of any method with the question mark "?"

sage: v = vector([1,2,3,4])
sage: v.norm?
Return the p-norm of "self".


* "p" - default: 2 - "p" can be a real number greater than 1, infinity ("oo" or "Infinity"),
         or a symbolic expression.


And in there you can find various examples.