#12466: test whether a polynomial is cyclotomic
-----------------------------------+----------------------------------------
Reporter: sstarosta | Owner: sstarosta
Type: task | Status: needs_review
Priority: major | Milestone: sage-5.8
Component: number theory | Resolution:
Keywords: Cernay2012 | Work issues: reference
Report Upstream: N/A | Reviewers:
Authors: Stepan Starosta | Merged in:
Dependencies: | Stopgaps:
-----------------------------------+----------------------------------------
Changes (by chapoton):
* work_issues: => reference
Comment:
A few changes made in the review patch:
* the reference is now given by a number like [1], but by [BD89]
* added a link to the cited article as follows
{{{:doi:`10.1007/3-540-51084-2_22`}}}
* when the characteristic is not zero, raise an error
{{{
raise NotImplementedError("not implemented in non-zero characteristic")
}}}
* the odd and even construction are now done in two lines
{{{
po_odd = sum(coefs[i]*(gen**((i-1)/2)) for i in xrange(1,len(coefs),2))
po_even = sum(coefs[i]*(gen**(i/2)) for i in xrange(0,len(coefs),2))
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12466#comment:8>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.