octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45497] missing function: repelem


From: Markus Bergholz
Subject: [Octave-bug-tracker] [bug #45497] missing function: repelem
Date: Thu, 09 Jul 2015 16:55:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #8, bug #45497 (project octave):

* I've merged the changes from Nick into my function 
* add support for nargin > 2

http://fossil.osuv.de/MissingFunctions/index.fs/artifact/da40fc176deec3f9

This repelem() is still missing support for column/row repeats for nxn
arrays.


>> repelem ([1 2; 0 -1],[1 2], 3)

ans =

     1     1     1     2     2     2
     0     0     0    -1    -1    -1
     0     0     0    -1    -1    -1



I've take a look at repelems too. It only supports 2 inputs, while the seconds
one has to be a 2xn matrix.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45497>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]