taskGNU Octave - Tasks: task #12153, Incorporate Octave-Forge core...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #12153: Incorporate Octave-Forge core functions into Octave

Submitter:  Rik <rik5>
Submitted:  Mon 02 Jul 2012 04:19:45 PM UTC
   
 
Should Start On:  Mon 02 Jul 2012 07:00:00 AM UTC Should be Finished on:  Tue 02 Oct 2012 07:00:00 AM UTC
Category:  Wish Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Fixed Release:  None
Planned Release:  None

Jump to the original submission

Sat 14 Jan 2017 01:50:08 AM UTC, comment #18: 

The lack of spreadsheet functions was just an oversight.  I made the original list back in 2012 and probably just missed them.

Rik <rik5>
Group administrator
Wed 11 Jan 2017 09:41:55 AM UTC, comment #17: 

gsvd has moved to core Octave dev version.

All that is left now is funm.

But in the long list in comment #0 the spreadsheet I/O functions weren't mentioned. JWE once wrote he wanted to move them into core as well. I've been working on it and the last thing I want to do before switching is remove duplicate code for ods... and xls... functions; most of that is done already in my private repo at home.

Plus some discussion may be needed on the maintainers ML on dependence on Java + external support SW, or optional, or no dependence at all, and in the first two cases, what Java support SW.

Philip Nienhuis <philipnienhuis>
Group Member
Tue 19 Jul 2016 07:54:05 AM UTC, comment #16: 

Now that ODE solvers are in core I think also

ode23s (odepkg)

should be added to the list




Carlo de Falco <cdf>
Group Member
Mon 18 Jul 2016 02:59:32 PM UTC, comment #15: 

Wasn't there a GSOC project or the like for a better funm? It has been advertised for several years on the projects idea page, but IIRC this year there was some movement.

Anyway, the funm in linear-algebra and its intended replacement from Higham's site differ from contemporary Matlab funm.
AFAICS the latter nowadays has different (stricter) requirements for the function to apply to the matrix argument and accepts an options struct as optional 3rd input argument.

Philip Nienhuis <philipnienhuis>
Group Member
Mon 18 Jul 2016 02:18:36 PM UTC, comment #14: 

I moved condeig from linear-algebra to the core in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/e859caa53399).

List of functions remaining to move (7/18/2016):

funm (linear-algebra)
gsvd (linear-algebra)

Rik <rik5>
Group administrator
Fri 15 Jul 2016 01:52:24 PM UTC, comment #13: 

The function publish has been moved to core (see patch #9048).

So the list of functions needed to be moved is now:

  condeig (linear-algebra)
  funm (linear-algebra)
  gsvd (linear-algebra)

Carnë Draug <carandraug>
Group Member
Tue 03 Sep 2013 11:10:48 PM UTC, comment #12: 

Much progress has been made.

The current list of functions (9/3/2013) is:

condeig (linear-algebra)
funm (linear-algebra)
gsvd (linear-algebra)
publish (miscellaneous)

Rik <rik5>
Group administrator
Tue 03 Sep 2013 11:07:32 PM UTC, comment #11: 

I added a note in the unimplemented.m script pointing users of exifread to imfinfo (http://hg.savannah.gnu.org/hgweb/octave/rev/84c119957463).

Rik <rik5>
Group administrator
Mon 02 Sep 2013 07:18:44 AM UTC, comment #10: 

I was looking closer at Matlab's does and in addition to the minor list I mentioned before, they also returned 2 structs with the rest of the Exif data.

Anyway, I have implemented this in imfinfo() and deprecated exifread in the image package. This function can be removed from the list.

Carnë Draug <carandraug>
Group Member
Wed 08 May 2013 05:36:41 PM UTC, comment #9: 

I like option 3.  This preserves Matlab compatibility, but also allows users to get as much information as possible about the image.  This fits the Octave ideal of being able to run any Matlab script, but also extending syntax where it makes sense.

Rik <rik5>
Group administrator
Sat 04 May 2013 06:20:07 PM UTC, comment #8: 

Should we bother wth exifread? Matlab has deprecated it. They suggest to use imfinfo and I looked into it, but matlab's imfinfo only reads a very small part of the EXIF data, in no way comparable to what exifread/readexif does.

I have 3 suggestions for this:

1 - make imfinfo read only the same EXIF fields has matlab;
2 - make imfinfo return all the EXIF fields that exifread/readexif at the root of the structure returned;
3 - make iminfo return the same as matlab with only one extra field, named EXIF which itself is another structure with all the other EXIF fields.

What do you guys think is best?

Carnë Draug <carandraug>
Group Member
Fri 03 May 2013 05:29:15 PM UTC, comment #7: 

The list of missing functions is shrinking.

New list as of 5/3/2013

condeig (linear-algebra)
exifread <-- readexif (image)
funm (linear-algebra)
gsvd (linear-algebra)
publish (miscellaneous)

Rik <rik5>
Group administrator
Mon 29 Apr 2013 01:24:13 PM UTC, comment #6: 

Nice. I have removed them from the specfun package.

By the way, the ellipj function which is implemented in C++, used to also have a .m implementation as well. It performed a bit slower (not by much if I remember correctly), but may be possible to improve.

Since m file implementations are usually prefered, the change occured with r9384 in the specfun package

https://sourceforge.net/p/octave/code/9384

Carnë Draug <carandraug>
Group Member
Mon 29 Apr 2013 04:53:23 AM UTC, comment #5: 

The specfun functions ellipj, ellipke, and expint are now imported from Octave Forge. I've also removed resample from the unimplemented list.

Mike Miller <mtmiller>
Group Member
Thu 14 Mar 2013 03:14:20 PM UTC, comment #4: 

New list as of 3/14/2013

condeig (linear-algebra)
ellipj (specfun)
ellipke (specfun)
exifread <-- readexif (image)
expint (specfun)
funm (linear-algebra)
gsvd (linear-algebra)
publish (miscellaneous)

Rik <rik5>
Group administrator
Thu 14 Mar 2013 01:09:05 PM UTC, comment #3: 

Please note that the Matlab core function resample is actually a method of the timeseries class, at least this is what the API docs on the web tell me:

http://www.mathworks.com/help/matlab/ref/timeseries.resample.html

The resample function that operates on standard data types is in the signal toolbox:

http://www.mathworks.com/help/signal/ref/resample.html

If someone can confirm, I think we should remove resample from the list of unimplemented functions to avoid confusion.

Mike Miller <mtmiller>
Group Member
Thu 28 Feb 2013 05:38:13 AM UTC, comment #2: 

I'd also like to have

ode45 (odepkg)

ported. It's in matlab core and often requested by octave users.
c.

Carlo de Falco <cdf>
Group Member
Wed 15 Aug 2012 04:37:23 AM UTC, comment #1: 

Progress has been made.  The list of functions to be ported has narrowed.  The current list (8/14/2012) is now:

condeig (linear-algebra)
ellipj (specfun)
ellipke (specfun)
exifread <-- readexif (image)
expint (specfun)
funm (linear-algebra)
gsvd (linear-algebra)
publish (miscellaneous)
resample (signal)

Rik <rik5>
Group administrator
Mon 02 Jul 2012 04:19:45 PM UTC, original submission:  

Octave has a list of core Matlab functions (unimplemented.m) which are missing from core Octave.  Some of these functions are already available in Octave-Forge in various packages.  It would be a good idea to bring these functions into core Octave and update their coding styles to reflect core Octave.  This is a much less arduous task than trying to create these functions from scratch.

The following functions with their package in parentheses have been identified:

cmpermute (image)
cmunique (image)
condeig (linear-algebra)
ellipj (specfun)
ellipke (specfun)
exifread <-- readexif (image)
expint (specfun)
fminsearch (optim)
funm (linear-algebra)
gsvd (linear-algebra)
publish (miscellaneous)
resample (signal)
sound (audio)
soundsc (audio)

Rik <rik5>
Group administrator

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by cdf (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted 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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-0608.
    Corresponding source code