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: NoneSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: Any

Add a New Comment (Rich MarkupRich 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:

pushed.

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:

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>
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:
[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 File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 10 May 2013 06:38:13 PM UTCcarandraugItem GroupMatlab Compatibility=>Feature Request
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Operating SystemMicrosoft Windows=>Any
    Fri 10 May 2013 12:07:27 AM UTCcarandraugAttached File-=>Added gallery.patch, #28058
    Thu 14 Mar 2013 07:34:14 PM UTCrik5Severity3 - Normal=>1 - Wish

    Back to the top


    Powered by Savane 3.1-cleanup