[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50854] zeros: like keyword
From: |
Ceral Paquet |
Subject: |
[Octave-bug-tracker] [bug #50854] zeros: like keyword |
Date: |
Sun, 23 Apr 2017 14:45:19 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 |
Follow-up Comment #2, bug #50854 (project octave):
You're right Rik, class is a nice workaround.
Unfortunately I've got myself addicted to using the gpuArray class in Matlab
and 'like' is useful for copying that attribute over. It's still a hack in
Matlab if you just want to copy the GPU part but not the complexity... they
haven't really ironed out bugs in pcg, lsqr, etc. which use 'like' to declare
arrays like resvec. My data is complex so these come back as complex arrays.
Matlabs support could not care less, just cut&paste replies describing memory
management on the gpu side.
So you still end up with if/else statements all over the place. Annoying.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50854>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50854] zeros: like keyword, Ceral Paquet, 2017/04/22
- [Octave-bug-tracker] [bug #50854] zeros: like keyword, Rik, 2017/04/23
- [Octave-bug-tracker] [bug #50854] zeros: like keyword,
Ceral Paquet <=
- [Octave-bug-tracker] [bug #50854] zeros: like keyword, Rik, 2017/04/23
- [Octave-bug-tracker] [bug #50854] zeros: like keyword, Ceral Paquet, 2017/04/23
- [Octave-bug-tracker] [bug #50854] zeros: like keyword, Rik, 2017/04/23
- [Octave-bug-tracker] [bug #50854] zeros: like keyword, Ceral Paquet, 2017/04/26
- [Octave-bug-tracker] [bug #50854] zeros: like keyword, Avinoam Kalma, 2017/04/26