Re: [sage-devel] Re: Absolute value of a matrix...

2011-04-07 Thread Jeroen Demeyer
On 2011-04-07 10:54, Simon King wrote: > By the way, *should* |-5| be supported in Sage? Via preparsing? Looks hard to do in a good way, because a parser cannot see the difference between a left and right |. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe fr

[sage-devel] Re: Absolute value of a matrix...

2011-04-07 Thread Simon King
On 7 Apr., 10:43, javier wrote: > ... And in any case > the use of the determinant is completely out of context. +1. There is one reason why one could think that the determinant should be related with the absolute value: Both are often (at least in my experience) denoted by vertical lines: |-5|

[sage-devel] Re: Absolute value of a matrix...

2011-04-07 Thread javier
If one thinks of "absolute value" as in the metric sense of "norm" then indeed the determinant makes no sense. Some valid norms for a matrix would be: * The maximum of the absolute values of its entries (supremum norm) * The root of the sum of the squares of all entries (2-norm) * The maximum of th

[sage-devel] Re: Absolute value of a matrix...

2011-04-06 Thread koffie
On Apr 7, 5:04 am, Rob Beezer wrote: > ... is the determinant?  Does this make sense to anyone?  Am I missing > something?  I can't think of a reason why, and the documentation > (sage.matrix.matrix2.Matrix._abs_) does not shed any extra light on > the reason. > > This came up on sage-support > >