Ask Your Question

1-Norm Matrix, Vektor

asked 2016-01-20 06:32:12 -0600

thetha gravatar image

updated 2016-01-20 07:36:58 -0600

vdelecroix gravatar image

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-20 07:37:02 -0600

vdelecroix gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-01-20 06:32:12 -0600

Seen: 405 times

Last updated: Jan 20 '16