Ask Your Question
1

1-Norm Matrix, Vektor

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

thetha gravatar image

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

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
1

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

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 06:32:12 -0500

Seen: 118 times

Last updated: Jan 20 '16