#7377: Symbolic Ring to Maxima via EclObject
-----------------------------------------------------------------------+----
   Reporter:  nbruin                                                   |       
Owner:  nbruin      
       Type:  enhancement                                              |      
Status:  needs_work  
   Priority:  major                                                    |   
Milestone:  sage-feature
  Component:  symbolics                                                |    
Keywords:              
     Author:  Nils Bruin, Jean-Pierre Flori                            |    
Upstream:  N/A         
   Reviewer:  Jean-Pierre Flori, François Bissey, Karl-Dieter Crisman  |      
Merged:              
Work_issues:                                                           |  
-----------------------------------------------------------------------+----

Comment(by nbruin):

 Great work! The patches don't apply on 4.6.1 so I can't test them at the
 moment. Reading through the patch:
  * Line 74
 {{{
   (string-trim '(#\Newline) (with-output-to-string (*standard-output*)
       (terpri)
 }}}
 If you're going to trim the newlines, don't bother with terpri. It just
 inserts a newline. Perhaps if you delete the terpri the trimming isn't
 necessary (I put it there because previously, the "ask" error messages had
 a newline before the question)
  * derivatives: If you want FDerivativeOperator handled by
 special_sage_to_max you'll need to change a bit more than just the API of
 the functions in that dictionary (for that, you can just put "op" as the
 first parameter and not use it in most cases)

 One possibility is to index special_sage_to_max by type(op) rather than
 op. Then it makes a lot more sense to pass op as a parameter too (because
 currently, the op would be a constant for any entry in
 special_sage_to_max).

  * the line:
 {{{
 [deriv_max.extend([sr_to_max(args[i]), EclObject(params.count(i))]) for i
 in set(params)]
 }}}
 leads to an algorithm that is quadratic in the number of variables, but it
 should be (soft) linear. It should be interesting to design an example
 where this matters ...)

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