#7828: There should be a top-level sign() function.
-----------------------------------+----------------------------------------
Reporter: robertwb | Owner: AlexGhitza
Type: defect | Status: new
Priority: minor | Milestone: sage-wishlist
Component: algebra | Keywords:
Author: Karl-Dieter Crisman | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Changes (by newvalueoldvalue):
* author: => Karl-Dieter Crisman
Comment:
Okay, this makes lots of sense, and in fact we should check hasattr with
that first. Patch coming up, which should work but will also allow
(perhaps this is not good):
{{{
sage: p = PermutationGroupElement('(3,4,8,7,9)')
sage: p.sign()
1
sage: sign(p)
1
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7828#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.