Trying to find out how safe is it to mix different types of complex
numbers (for migration purposes), I tried:

    pdl> use PDL::Complex
    pdl> print i*ci()
    0+0i +0+1ii

So, I guess not surprisingly, that they are not. I don't know if these
mixed operations should be forbidden (I guess it would be the easiest
course) or if PDL::Complex'es should be promoted to native complexes
before the operation or the other way around.

Regards,
Luis

--

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Av. Universidad s/n CP 62210         |                           (*)/\/  \
Cuernavaca, Morelos, México          | moc...@fis.unam.mx   /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB


_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to