Ask Your Question
1

1-Norm Matrix, Vektor

asked 2016-01-20 13:32:12 +0200

thetha gravatar image

updated 2016-01-20 14:36:58 +0200

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
2

answered 2016-01-20 14:37:02 +0200

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".

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.

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

Stats

Asked: 2016-01-20 13:32:12 +0200

Seen: 1,106 times

Last updated: Jan 20 '16