Kenny Ortmann wrote:
>> There may be a better way, but::
>>
>>alltrue(isreal(x))
>>
>> Would work. As would:
>>
>>not sometrue(x.imag)
>>
>> In the above test you are already negating the test, so you could just
>> drop the not.
>>
>>> and if so is
>>> there a way to extract the(a + i
> There may be a better way, but::
>
>alltrue(isreal(x))
>
> Would work. As would:
>
>not sometrue(x.imag)
>
> In the above test you are already negating the test, so you could just
> drop the not.
>> and if so is
>> there a way to extract the(a + ib) because the absolute value of a
>> co