Thank you Vincent. this is much clearer.
It seems that I have some things left to understand about the Sage class
and types hierarchies. Sorry for the noise...
Le lundi 17 octobre 2016 13:55:14 UTC+2, vdelecroix a écrit :
> CDF is the name of a Python variable not a type.
> sage: a = CDF.an_element()
> sage: type(a)
> <type 'sage.rings.complex_double.ComplexDoubleElement'>
> You need to use this ComplexDoubleElement to type your function.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.