[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
- isa strangeness,
Richard E. Harke <=
- Re: isa strangeness, Martin Helm, 2010/08/15
- Re: isa strangeness, Jaroslav Hajek, 2010/08/16
- Re: isa strangeness, Martin Helm, 2010/08/16
- Re: isa strangeness, Jaroslav Hajek, 2010/08/16
- Re: isa strangeness, Martin Helm, 2010/08/16
- Re: isa strangeness, Michael Goffioul, 2010/08/16
- Re: isa strangeness, Martin Helm, 2010/08/16
- Re: isa strangeness, Michael Goffioul, 2010/08/16
- Re: isa strangeness, Martin Helm, 2010/08/16
- Re: isa strangeness, Richard E. Harke, 2010/08/16