There is this:

sage: import numpy as np
sage: cm = sage.structure.element.coercion_model
sage: cm.explain(polygen(RR), np.float32('1.5'), operator.mul)
Action discovered.
    Right scalar multiplication by Real Double Field on Univariate 
Polynomial Ring in x over Real Field with 53 bits of precision
    with precomposition on right by Native morphism:
      From: Set of Python objects of type 'numpy.float32'
      To:   Real Double Field
Result lives in Univariate Polynomial Ring in x over Real Field with 53 
bits of precision
Univariate Polynomial Ring in x over Real Field with 53 bits of precision


On Saturday, April 22, 2017 at 11:01:52 AM UTC+2, Dima Pasechnik wrote:
>
> Is there a "normal" way to trace all the coersion/conversion steps for a 
> given Sage expression?
> If not, there should be one, IMHO (otherwise it's always a huge guessing 
> game for this sort of issues)
>

-- 
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