#10682: sum fails with lower bound != 0 or 1 (upgrade maxima to 5.26)
---------------------------------------------------------+------------------
   Reporter:  fmaltey                                    |          Owner:  
burcin                    
       Type:  defect                                     |         Status:  
needs_info                
   Priority:  critical                                   |      Milestone:  
sage-5.0                  
  Component:  symbolics                                  |       Keywords:  
maxima 5.26.0 binomial sum
Work_issues:  domain issue, error handling in nintegral  |       Upstream:  N/A 
                      
   Reviewer:  Jean-Pierre Flori,                         |         Author:  
Dima Pasechnik            
     Merged:                                             |   Dependencies:      
                      
---------------------------------------------------------+------------------

Comment(by jpflori):

 Replying to [comment:57 dimpase]:

 > OK, I am confused now - can we have a new public method to do the
 simplification domain switching in the library, i.e. the equivalent of
 `sage.calculus.calculus.maxima('domain:real')`, etc., or it would not work
 due to a bug in the library interface? If the latter, it looks like one
 can give it the

 You're also confusing me now :)

 I really do not like and understand how trac treats newline stuff, whence
 my maybe confusing message above. I'll try to format that one better.

 I'll also says a lot a lot of trivialities, but it's to be sure that we
 all agree on what we want or do not want.

 Fisrt, sage.calculus.calculus.maxima('domain: real') does work as intended
 indeed.

 If you think this is not public enough we can add a new method
 "set_domain" in MaximaAbstract class which does the same thing:

 {{{
 def set_domain(self, domain):
     r"""
     Sets the working domain of this Maxima instance to `domain`.
     """
     self('domain : "+domain)

 }}}
 or equivalently

 {{{
 def set_domain(self, domain):
     r"""
     Sets the working domain of this Maxima instance to `domain`.
     """
     self.set('domain', domain)

 }}}
 with some basic doctesting.

 In that form I doubt this is really much more useful than calling
 sage.calculus.calculus.maxima(...).

 Maybe you meant a function declared at the top level of
 sage.calculus.calculus which does the same ?

 It's maybe a little more meaningful.

 What I meant about the Maxima Library interface bug is that we should be
 able to access the "domain" variable of Maxima directly as an attribute of
 the Sage object, so that one could replace the above method by

 {{{
 def set_domain(self, domain):
     ...
     self.domain = domain

 }}}
 or if its a function in sage.calculus.calculus :

 {{{
 def set_domain(domain):
     r"""
     Sets the domain of the Maxima instance used by Sage for calculus to
 `domain`
     """"
     maxima.domain = domain

 }}}
 This works for the pexpect interface but is broken for the library
 interface.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10682#comment:59>
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.

Reply via email to