> abs(matrix) is currently returning the determinant (and this goes back
> to the early implementation in 2006!). If anybody contests the fact
> that it should return the matrix whose entries are the absolute value
> of the initial matrix, please tell me.

I don't think that it should be the matrix consisting of absolute
values of entries, since that only works for matrices over a ring with
an absolute value.  Using
it as a determinant is consistent with standard notation, though I
agree that we don't usually say absolute value in this context.

In general, I'm opposed to matrix operations which do the same thing
to each entry, unless we're very explicit about it.  I would prefer a
method 'elementwise()' which takes in a method (either the global
function abs or the string 'abs') and applies it to teach entry.

All this being said, I don't feel that strongly, so if other agree
with Vincent, speak up.
David

>
> Otherwise, #17443 needs review.
>
> Vincent
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to