[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: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle |
Date: |
Wed, 12 Oct 2011 13:36:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Iceweasel/6.0.2 |
Follow-up Comment #7, bug #34536 (project octave):
You can also store function handles in struct arrays.
Not all functions work on all types.
The current doc string says:
Return true if X is a vector. A vector is a 2-D array where one of the
dimensions is equal to 1. As a consequence a 1x1 array, or scalar, is also a
vector.
I think you have a different idea of what "array" means than I do. In Octave,
an array is just an N-d (with N >= 2) collection of objects that can be
indexed. Array does not necessarily imply a numeric object. If it did, we
would not have "cell arrays".
So I don't really see any bug to fix here.
_______________________________________________________
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 <=
- [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, 2011/10/26