Projects: Difference between revisions

Jump to navigation Jump to search
304 bytes removed ,  17 September 2014
→‎Matlab compatibility: add link to bug report and remove note about do it in Matlab compatible
(→‎Functions with different syntax: Added note about adding additional syntax that don't exist in Matlab (makes porting Octave code to Matlab more difficult))
(→‎Matlab compatibility: add link to bug report and remove note about do it in Matlab compatible)
Line 399: Line 399:
Lists are also kept for the [[Image package|Image]], [[Mapping package|Mapping]], [[Optimization package|Optimization]], and [[Signal package|Signal]] packages.
Lists are also kept for the [[Image package|Image]], [[Mapping package|Mapping]], [[Optimization package|Optimization]], and [[Signal package|Signal]] packages.


It is also possible to look at existing [[Wikipedia:Free and open-source software|FLOSS]] implementations, from FreeMat and Scilab (for more closely compatible languages) to R or Scipy or Julia (for less compatible versions).  Obviously, it is NOT OK to look at the Matlab implementation since this is not [[Wikipedia:Free software|free software]]!
It is also possible to look at existing [[Wikipedia:Free and open-source software|FOSS]] implementations, from FreeMat and Scilab (for more closely compatible languages) to R or Scipy or Julia (for less compatible versions).  Obviously, it is NOT OK to look at the Matlab implementation since this is not [[Wikipedia:Free software|free software]]!


[[Category:Development]]
[[Category:Development]]
Line 405: Line 405:


==Functions with different syntax==
==Functions with different syntax==
The following functions have different syntax in Matlab and in Octave and makes porting more difficult:
The following functions have different syntax in Matlab and in Octave and makes porting more difficult:
* <tt>repmat</tt>


'''Note:''' When adding support for functions that exist in Matlab, make sure the syntax is the same as in Matlab from the beginning, as it breaks backward compatibility to change it later!!! Also think twice about adding additional syntax that don't exist in Matlab, as this makes it more difficult to port Octave code to Matlab.
* {{codeline|repmat}}: see bug {{bug|38391}}

Navigation menu