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 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to