#17553: substitute_function() can leave limits unevaluated
-------------------------+----------------------------
   Reporter:  wonder     |            Owner:
       Type:  defect     |           Status:  new
   Priority:  major      |        Milestone:  sage-6.4
  Component:  symbolics  |         Keywords:
  Merged in:             |          Authors:
  Reviewers:             |  Report Upstream:  N/A
Work issues:             |           Branch:
     Commit:             |     Dependencies:
   Stopgaps:             |
-------------------------+----------------------------
 Here is an example:

 {{{
 ┌────────────────────────────────────────────────────────────────────┐
 │ Sage Version 6.4.1, Release Date: 2014-11-23                       │
 │ Type "notebook()" for the browser-based notebook interface.        │
 │ Type "help()" for help.                                            │
 └────────────────────────────────────────────────────────────────────┘
 sage: l = limit( function('f')(x), x=1 )
 sage: l
 limit(f(x), x, 1)
 sage: ls = l.substitute_function( function('f'), (1+x).function(x) )
 sage: ls
 limit(x + 1, x, 1)
 sage: simplify(ls)
 limit(x + 1, x, 1)
 sage: maxima(repr(ls))
 2
 }}}

 This is a simplified case of a situation that's been biting me in an
 expression that's passed to odeint() after being computed: it breaks the
 integration because it fails to evaluate to a float expression.

--
Ticket URL: <http://trac.sagemath.org/ticket/17553>
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