ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 20 Jan 2016 14:37:02 +01001-Norm Matrix, Vektorhttps://ask.sagemath.org/question/32296/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 thisWed, 20 Jan 2016 13:32:12 +0100https://ask.sagemath.org/question/32296/1-norm-matrix-vektor/Answer by vdelecroix for <p>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</p>
https://ask.sagemath.org/question/32296/1-norm-matrix-vektor/?answer=32298#post-id-32298This 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.Wed, 20 Jan 2016 14:37:02 +0100https://ask.sagemath.org/question/32296/1-norm-matrix-vektor/?answer=32298#post-id-32298