Neal Becker wrote:
> [EMAIL PROTECTED] wrote:
>
>
>> In creating an array of type numpy.complex128, I'm having problems
>> passing in Sage types that should be considered complex numbers since
>> they implement the standard __complex__ method. However, numpy doesn't
>> recognize that. Here's a
[EMAIL PROTECTED] wrote:
> In creating an array of type numpy.complex128, I'm having problems
> passing in Sage types that should be considered complex numbers since
> they implement the standard __complex__ method. However, numpy doesn't
> recognize that. Here's a minimal example:
>
I had tri
In creating an array of type numpy.complex128, I'm having problems
passing in Sage types that should be considered complex numbers since
they implement the standard __complex__ method. However, numpy doesn't
recognize that. Here's a minimal example:
In [1]: class MyNum:
...: def __comp