sage: R.parent()([(t.real_part()+t.imag_part()).simplify_full() for
t in R.list()])
Workshop fine ! Many Thanks.
Can I be picky ? The following does not work :
sage: a=4
sage: a.parent()(a.list())
I quite understand why, and it has no importance for the problem I'm
currently working on, but it would have been cool :)
Have a nice afternoon
Laurent
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org