help-octave
[Top][All Lists]
Advanced

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

isa strangeness


From: Richard E. Harke
Subject: isa strangeness
Date: Sun, 15 Aug 2010 19:18:33 -0700
User-agent: KMail/1.9.9

I installed octave last night and have been reading the manual
trying things. (Debian lenny system, installed from debian archive)
I tried:
10> class(10)
ans = double

Seems good. Then I tried:
11> isa(10, double)

Invalid call to double.  ......

which seems like a bug

Even more curious:
12> isa(10, double(10))
ans = 0

which seems to say that 10 does not belong to the class it belongs to.

13> isa(10, class(10))
ans = 1
is correct but hardly seems useful.

This is not an auspicious start.

Richard


reply via email to

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