[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle |
Date: |
Wed, 13 Sep 2017 18:51:36 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #3, bug #52009 (project octave):
Is this just a special case? What happens in Matlab if you try to reshape a
function handle? Sample code:
x = @sin;
reshape (x, [1, 1])
reshape (x, [2, 1])
reshape (x, [0, 1])
As Kai pointed out, it might be very simple to overload resize() for function
handles to allow 1x1.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52009>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52009] handle in array-->error, Ernst Reissner, 2017/09/13
- [Octave-bug-tracker] [bug #52009] Octave does not ignore brackets around anonymous function [@() true], Kai Torben Ohlhus, 2017/09/13
- [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle, Mike Miller, 2017/09/13
- [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle,
Rik <=
- [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle, Kai Torben Ohlhus, 2017/09/14
- [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle, Mike Miller, 2017/09/15
- [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle, Rik, 2017/09/15
- [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle, Rik, 2017/09/15
- [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle, Kai Torben Ohlhus, 2017/09/18
- [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle, Kai Torben Ohlhus, 2017/09/18