[GiNaC-devel] Real and imaginary parts.

Richard B. Kreckel kreckel at ginac.de
Sat Apr 22 01:21:14 CEST 2006


Dear Chris,

Chris Dams wrote:

>I have added the methods .real_part() and .imag_part() to the library for
>taking real and imaginary parts of expressions. Functions know how to take
>real and imaginary parts of themselves through two new function options. I
>did not add the required methods for this to all standard functions but
>the trigoniometric functions have been done. These new features are
>documented in the tutorial.
>  
>

Did you chose that unconventional name because of numeric::real() and 
numeric::imag() returning a numeric object? Too bad...

Regards
-richy.

-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>




More information about the GiNaC-devel mailing list