Short projects: Difference between revisions

Jump to navigation Jump to search
1,305 bytes added ,  12 March 2020
→‎Miscellaneous: added general project idea about reviewing/cleaning up old bug reports.
(→‎Miscellaneous: added general project idea about reviewing/cleaning up old bug reports.)
(One intermediate revision by the same user not shown)
Line 42: Line 42:
A number of functions are implemented, but may have known incompatibilities to Matlab or only partially handled option sets, etc.
A number of functions are implemented, but may have known incompatibilities to Matlab or only partially handled option sets, etc.


* Sorry none yet.
* griddata:  Octave's griddata  functions are only partly Matlab compatible. There are three un-implemented interpolation methods: 'v4', and 'cubic' for 2D and 'natural' for 2D and 3D. The 2D cases should be straightforward once the correct algorithm is determined. But 3D cases are handled by passing to griddata3 and griddatan, and griddatan does not have a requirement to handle 'natural', so some thought will need to go into how to implement that one.  It may involve removing the griddata3 passthrough altogether.  {{bug|33539}} {{bug|35178}} {{bug|57323}} {{bug|57835}}


== Review or create changesets ==
== Review or create changesets ==
Line 62: Line 62:


* Use "units.h" from [http://www.gnu.org/software/units/ GNU units] in [http://octave.sourceforge.net/miscellaneous/function/units.html function units] (from the Octave-Forge [http://octave.sourceforge.net/miscellaneous/ miscellaneous package]) rather than making a system call and parsing its output (and having to handle multiple versions of it). This change will make it much more robust. It likely will alleviate the requirement of having [http://www.gnu.org/software/units/ GNU units] installed in the system separately by the user. This requires knowledge of C (units is written on C) and C++ to write its Octave interface. It can be very easy if the units.h truly allows to be used as library or maybe impossible if it does not. This has not been investigated yet.
* Use "units.h" from [http://www.gnu.org/software/units/ GNU units] in [http://octave.sourceforge.net/miscellaneous/function/units.html function units] (from the Octave-Forge [http://octave.sourceforge.net/miscellaneous/ miscellaneous package]) rather than making a system call and parsing its output (and having to handle multiple versions of it). This change will make it much more robust. It likely will alleviate the requirement of having [http://www.gnu.org/software/units/ GNU units] installed in the system separately by the user. This requires knowledge of C (units is written on C) and C++ to write its Octave interface. It can be very easy if the units.h truly allows to be used as library or maybe impossible if it does not. This has not been investigated yet.
* Review old bugs: The [http://bugs.octave.org Octave bug tracker] has over 1,000 reports dating all the way back to 2010.  Some have patches submitted but can no longer be directly applied to the current codebase. Some have never had patches developed. Some are old, unfulfilled wish list or missing function requests.  And some may no longer be bugs, having been fixed or rendered irrelevant due to other changes code changes over the years. Reviewing these old bugs, testing the original bug report to see if the same results still occur, if Matlab compatibility has changed, or if submitted patches can still be applied cleanly (and potentially cleaning up patches so they can apply cleanly), can help update and clean up the bug database.


[[Category:Development]]
[[Category:Development]]
[[Category:Project Ideas]]
[[Category:Project Ideas]]
[[Category:Missing functions]]
[[Category:Missing functions]]
153

edits

Navigation menu