#19742: CyclotomicField.zeta() inconsistent with zeta_order() and docs
----------------------------------+------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.0
Component: number fields | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------------+------------------------
Description changed by jdemeyer:
Old description:
New description:
`CyclotomicField(k).zeta()` is documented as
{{{
- ``n`` - integer (default: None, returns element of
maximal order)
}}}
However, this is not actually the reality:
{{{
sage: C = CyclotomicField(5)
sage: C.zeta().multiplicative_order() # NOT of maximal order!
5
sage: C.zeta(10).multiplicative_order()
10
}}}
This branch will change `zeta()` to be consistent with what was
documented. It will also make it consistent with `zeta_order()`, such that
`C.zeta().multiplicative_order()` is equal to `C.zeta_order()`.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/19742#comment:1>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.