Hello,
It seems as though I am missing something obvious, but I can not
figure out how to use complex number manipulations on symbolic
variables in sage.

A trivial example would be to have a function that returns the
imaginary portion of a given complex value:

sage: f(x) = imag(x)
sage: f(i*1)
I

However, the result of this currently gives me zero, as it seems the
imag() function is not captured by the function declaration.  Any
insights on this quandary?


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to