[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34536] isvector gives wrong answer when check
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle |
Date: |
Wed, 26 Oct 2011 04:19:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 |
Update of bug #34536 (project octave):
Status: None => Wont Fix
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #10:
I know this seems confusing, but this definition of array is just the way
Matlab and Octave work.
Unfortunately, the docstring for arrayfun can't be changed to say "numerical
array" because "numeric" has a very specific meaning in Octave. See the
documentaion for isnumeric
Return true if X is a numeric object, i.e., an integer, real, or
complex array. Logical and character arrays are not considered to be
numeric.
Changing arrayfun to say that it operates on numerical arrays would imply that
it does not work on logical or character arrays. This is not the case.
str = "abc";
isnumeric (str)
ans = 0
arrayfun (@toupper, str)
ans = ABC
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34536>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, Juan Pablo Carbajal, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, Juan Pablo Carbajal, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, John W. Eaton, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, Juan Pablo Carbajal, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, Søren Hauberg, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, John W. Eaton, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, Juan Pablo Carbajal, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, John W. Eaton, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, Juan Pablo Carbajal, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle, Juan Pablo Carbajal, 2011/10/12
- [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle,
Rik <=