#2516: generalized hypergeometric functions should be implemented
-------------------------------------+-------------------------------------
       Reporter:  ddrake             |        Owner:  cwitty
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.3
      Component:  symbolics          |   Resolution:
       Keywords:  hypergeometric,    |    Merged in:
  special                            |    Reviewers:  Ralf Stephan, Nils
        Authors:  Fredrik            |  Bruin
  Johansson, Eviatar Bach, Ralf      |  Work issues:
  Stephan                            |       Commit:
Report Upstream:  N/A                |  d36389d37cefe44cf9e5e957f5ed1829645463fb
         Branch:  u/rws/ticket/2516  |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by nbruin):

 I noticed this:
 {{{
 +lazy_import("sage.functions.hypergeometric", "hypergeometric")
 ...
  special_sage_to_max={
 + hypergeometric : lambda A, B, X : [[mqapply],[[max_hyper,
 max_array],lisp_length(A.cdr()),lisp_length(B.cdr())],A,B,X]
 }
 }}}
 This can't do what I think it is meant to do. Either the reference to
 "hypergeometric" as a dictionary key leads to resolving the lazy import
 (this is the most likely, because we'll need `hypergeometric.__hash__()`
 to set the dict entry), in which case there's no point in doing a lazy
 import, or some lazy proxy makes it into the dictionary as a key, which is
 then out of reach of the lazy import resolver to substitute with the real
 thing, leaving the proxy (and its slowdown) in place indefinitely.

 I suspect that just importing `hypergeometric` normally will lead to
 acceptable performance.

--
Ticket URL: <http://trac.sagemath.org/ticket/2516#comment:66>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to