#10519: analytic combinatorics: new code for computing asymptotics for
multivariate
generating functions
-------------------------------------+-------------------------------------
Reporter: araichev | Owner: sage-combinat
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-7.1
Component: combinatorics | Resolution:
Keywords: analytic | Merged in:
combinatorics, multivariate | Reviewers: Daniel Krenn, David
generating functions, asymptotics | Loeffler, Travis Scrimshaw
Authors: Daniel Krenn, | Work issues:
Alex Raichev | Commit:
Report Upstream: N/A | a30a18a230a1f77fac00e636b779df8f571eda62
Branch: | Stopgaps:
public/combinat/10519 |
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by tscrim):
Replying to [comment:123 dkrenn]:
> Replying to [comment:121 tscrim]:
> > - I moved more common imports to the start. There is no danger of
circular imports when the file in question is not imported into the global
namespace (it is also faster, easier to maintain in the long term, and I'm
not as paranoid about these thing).
>
> I'm fine with it. Just out of curiosity, why is this faster?
Every time the function gets called, Python needs to check to see if it
has imported the object. While this is more on the level of micro-
optimization, it can matter in those methods used in a tight loop.
> I've added one doctest to make sage-coverage happier and removed one
full-stop.
Whoops. Good catch.
> > Perhaps for a followup, we should figure out what the best way is to
expose this functionality into the global namespace. Should we just do a
lazy import of `FractionWithFactoredDenominatorRing`?
>
> Maybe. (A lazy import is indeed suitable.)
>
> I set this to positive; all tests pass, doc builds and looks good.
We also should remove the deprecation warnings in `_element_constructor_`
on said followup as I forgot to remove them here.
--
Ticket URL: <http://trac.sagemath.org/ticket/10519#comment:124>
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.