[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'iscomplex' not a useful function
From: |
Muhali |
Subject: |
Re: 'iscomplex' not a useful function |
Date: |
Tue, 19 Oct 2010 18:10:19 -0700 (PDT) |
James Sherman Jr.-2 wrote:
>
> 1) iscomplex is not the negation of isreal if the argument is not numeric.
> I believe that it is essentially:
> iscomplex(x) = isnumeric(x)&~isreal(x)
>
My point is different. A functionionality as described in 1) should not be
named 'iscomplex', as from a mathematical viewpoint, e.g. 0, 1, pi, or i
(the imaginary unit) are all complex numbers. A name like 'isimag' would be
more correct and less misleading.
--
View this message in context:
http://octave.1599824.n4.nabble.com/iscomplex-not-a-useful-function-tp3002979p3003102.html
Sent from the Octave - General mailing list archive at Nabble.com.