help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isa strangeness


From: Martin Helm
Subject: Re: isa strangeness
Date: Mon, 16 Aug 2010 04:34:30 +0200
User-agent: KMail/1.13.5 (Linux/2.6.31.12-0.2-desktop; KDE/4.4.4; x86_64; ; )

Am Montag, 16. August 2010, 04:18:33 schrieb Richard E. Harke:
> 
> Even more curious:
> 12> isa(10, double(10))
> ans = 0
> 
I forgot to comment that:
double(10) is type cast which returns 10, so this is equivalent to
isa(10,10)which  returns 0 since 10 is not of class 10 but of class double.

- mh


reply via email to

[Prev in Thread] Current Thread [Next in Thread]