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

 
 

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

Submitter:  None
Submitted:  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 Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

pushed.

Carnë Draug <carandraug>
Group 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>
Group 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:

https://github.com/carandraug/testmatrix/blob/master/Test%20Matrix%20Toolbox/gallery.m

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>
Group 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:
[http://www.mathworks.ch/ch/help/matlab/ref/gallery.html
 Matlab manual for gallery()]



Anonymous

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-d3ae.
    Corresponding source code