bugGNU Octave - Bugs: bug #37571, Matlab's gallery function, e.g....


bug #37571: Matlab's gallery function, e.g. gallery('poisson', n)

Submitted by:  None
Submitted on:  Sun 14 Oct 2012 08:24:45 PM UTC  
Category:  None Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.6.2
Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 10 May 2013 06:38:13 PM UTC, comment #3:


Carnë Draug <carandraug>
Project Member
Fri 10 May 2013 12:07:27 AM UTC, comment #2:

Here's a patch that adds this function.

It's lacking on the help text though. Each of the subfunctions has its own documentation and I first tried to convert it to phrase it Octave style, but removed it after making some mathematical mistakes.

Also, the original Test Matrix toolbox had other matrices that matlab choose to not include. I didn't add them either.

If no one opposes, I'll push it tomorrow.

(file #28058)

Carnë Draug <carandraug>
Project Member
Tue 07 May 2013 10:56:42 PM UTC, comment #1:

I am implementing the function gallery, using the code from Nicholas Higham. This is supposedly the same code that matlab used for their implementation. This is what I have done so far:


Any hand on this would be welcome. I got bored after a while and just copied his code, with minimum changes. Now it should be only a matter of making some small adjustments. Specially the help text will need some love. I am not familiar with the subject, so afraid to write it (while the help text is almost equal to Matlab's, that's because they copied Higham's help text, not me copying from Matlab).

Some of the matrices were not on his toolbox so they are not implemented in gallery. Except for gcdmat which I wrote it myself.

Carnë Draug <carandraug>
Project Member
Sun 14 Oct 2012 08:24:45 PM UTC, original submission:

The function gallery(’poisson’,n) to generate a sparse matrix for testing purposes is missing in Octave.

For implementation details see:
Matlab manual for gallery()]



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #28058:  gallery.patch added by carandraug (109KiB - text/x-diff - gallery: new function)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-10 carandraug Item GroupMatlab Compatibility => Feature Request
        StatusNone => Fixed
        Open/ClosedOpen => Closed
        Operating SystemMicrosoft Windows => Any
    2013-05-10 carandraug Attached File- => Added gallery.patch, #28058
    2013-03-14 rik5 Severity3 - Normal => 1 - Wish

    Back to the top

    Powered by Savane 3.3