#5165: make padded_list use prec by default
-----------------------------+----------------------------------------------
Reporter: AlexGhitza | Owner: AlexGhitza
Type: enhancement | Status: closed
Priority: trivial | Milestone: sage-4.4
Component: modular forms | Resolution: fixed
Keywords: | Author: Alex Ghitza
Upstream: N/A | Reviewer: David Loeffler
Merged: sage-4.4.alpha0 | Work_issues:
-----------------------------+----------------------------------------------
Changes (by jhpalmieri):
* status: positive_review => closed
* resolution: => fixed
* merged: => sage-4.4.alpha0
Old description:
> Consider this situation:
>
> {{{
> sage: f = ModularForms(28,2).q_expansion_basis()[-1]
> sage: f
> q^7 + O(q^20)
> }}}
>
> At this point, I would like to be able to do f.padded_list() and have
> this take f.prec() as default parameter. It's not a big deal, but it
> would be more convenient than having to type f.padded_list(f.prec()).
> There might be other situations (power series in general, for instance?)
> where this change could also be made.
>
> I'll have a patch up for this soon.
New description:
Consider this situation:
{{{
sage: f = ModularForms(28,2).q_expansion_basis()[-1]
sage: f
q^7 + O(q^20)
}}}
At this point, I would like to be able to do f.padded_list() and have this
take f.prec() as default parameter. It's not a big deal, but it would be
more convenient than having to type f.padded_list(f.prec()). There might
be other situations (power series in general, for instance?) where this
change could also be made.
I'll have a patch up for this soon.
--
Comment:
Merged in 4.4.alpha0.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5165#comment:4>
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.