#17443: abs(matrix) should not be a shortcut for det
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.5
Component: linear algebra | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/17443 | 697c759ec1dff3ab845b66beebc443aea5e9a1a5
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Old description:
> We have currently
> {{{
> sage: M = matrix([[-1]])
> sage: abs(M)
> -1
> }}}
> Because `matrix.__abs__` is a shortcut for determinant!!
>
> Like it is now in scipy, `__abs__` will be changed to return the matrix
> that consists of all the absolute values of the coefficients.
New description:
We have currently
{{{
sage: M = matrix([[-1]])
sage: abs(M)
-1
}}}
Because `matrix.__abs__` is a shortcut for determinant!!
Like it is now in scipy, `__abs__` will be changed to return the matrix
that consists of all the absolute values of the coefficients.
Related discussion on sage-devel [https://groups.google.com/forum/#!topic
/sage-devel/pFI9y3YZIQQ]
--
Comment (by vdelecroix):
No hurry. Discussion going on on sage-devel...
--
Ticket URL: <http://trac.sagemath.org/ticket/17443#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.