[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is_scalar conflicts with isstring
From: |
SZABO Sandor |
Subject: |
Re: is_scalar conflicts with isstring |
Date: |
Wed, 14 Mar 2001 16:58:33 +0100 |
Kai Habel wrote:
> > Does isnumeric give 1 forever?
>
> Hello Sandor,
>
> no, isnumeric should give a true value for scalars and matrices.
>
> Here works everything as expected.
>
> octave-2.1.32:1> implicit_str_to_num_ok = 0
> implicit_str_to_num_ok = 0
> octave-2.1.32:9> isnumeric ("a")
> ans = 0
> octave-2.1.32:10> isnumeric (1.0)
> ans = 1
> octave-2.1.32:11> isnumeric ([1.0 0.8])
> ans = 1
>
> I don't know if its a 2.0.xx problem, so you might switch to the 2.1.33
> version.
>
> Bye Kai
>
> --
> Kai Habel
> mailto:address@hidden
> icq: 106872331
I switched to 2.1.33 and isnumeric works well. Thanks.
Sandor Szabo
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
Message not available
- Message not available
- Message not available
- Re: is_scalar conflicts with isstring,
SZABO Sandor <=