1-Norm Matrix, Vektor
Is the a way to specifiy the norm of Matrix or Vektor? I need the 1-norm A.norm(1)? v.norm(1)? Something like this
Is the a way to specifiy the norm of Matrix or Vektor? I need the 1-norm A.norm(1)? v.norm(1)? Something like this
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".
INPUT:
* "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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2016-01-20 13:32:12 +0100
Seen: 1,242 times
Last updated: Jan 20 '16