[Scilab-Dev] unwrap(): improvements

Samuel Gougeon sgougeon at free.fr
Thu Mar 28 03:53:59 CET 2013


Hello,

Seeing the SEP for an unwrap() function @
https://codereview.scilab.org/#/c/11053/
https://codereview.scilab.org/cat/11053%2C1%2CSEP/SEP_092_unwrap.odt%5E0

Please find in attachments some improved files:
unwrap.sci :
   - unwrap() plots a 1D + 2D examples instead of yielding an error
   - full vectorization of unwrap() : 2 nested for-end loops skipped :
     unwrapping a (1000x1000) matrix takes 0.162s instead of 7.36s (time/45)

%_unwrap.sci added : example for unwrap(), help file (and eventually a demo)
   => SCI\modules\elementary_functions\macros\

unwrap.xml :
   - initial 1D exampleimproved
   - 1D + 2D examples added
   - References to SIP unwrapl() and unwrapp() added

Best regards
Samuel Gougeon



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20130328/d48a7d4b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haifdeef.png
Type: image/png
Size: 66942 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20130328/d48a7d4b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unwrap.sci
Type: text/x-matlab
Size: 1469 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20130328/d48a7d4b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unwrap.xml
Type: text/xml
Size: 5039 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20130328/d48a7d4b/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: %_unwrap.sci
Type: text/x-matlab
Size: 1557 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20130328/d48a7d4b/attachment-0001.bin>


More information about the dev mailing list