[GiNaC-devel] Real and imaginary parts.

Chris Dams Chris.Dams at mi.infn.it
Mon Apr 24 13:27:40 CEST 2006


Dear Richy,

On Sat, 22 Apr 2006, Richard B. Kreckel wrote:

> >I have added the methods .real_part() and .imag_part() to the library 
> 
> Did you chose that unconventional name because of numeric::real() and 
> numeric::imag() returning a numeric object? Too bad...

No, actually, just because I was thinking "what could be a nice name for a
function that takes the real/imaginary part of something". Do you think
that it should be changed? I am not sure whether numeric::real() and 
numeric::imag() would cause trouble in that case.

Best,
Chris



More information about the GiNaC-devel mailing list