It includes this probably bad idea ---
"Often, tree-walkers would prefer to see divisions instead of 
multiplications and negative exponents"

which means that a programmer may have to write the same code twice.
Example:  Once for exp(-x) and once for 1/exp(x).  or   for 2^(-x),   or  
even 2^n for 
possibly negative n.
RJF


On Friday, November 17, 2017 at 3:24:20 AM UTC-8, Eric Gourgoulhon wrote:
>
> Le dimanche 12 novembre 2017 16:04:38 UTC+1, Eric Gourgoulhon a écrit :
>>
>>
>> Yes for sure, I will rewrite it using the expression tree walker, but in 
>> another ticket. 
>>
>
> This is now  #24232 <https://trac.sagemath.org/ticket/24232>. This ticket 
> rebases all simplifications in calculus on manifolds on direct 
> manipulations of the expression tree, by subclassing ExpressionTreeWalker 
> <http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/expression_conversions.html#sage.symbolic.expression_conversions.ExpressionTreeWalker>.
>  
>
>
> Eric.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to