arrayfun.m reworked

Thomas Treichl Thomas.Treichl at gmx.net
Thu Jul 31 16:02:45 CDT 2008


Hi,

I have finished reworking arrayfun - finally I decided to find the bug in 
arrayfun.m and not to send my arrayun.cc here. And thanks to David for having a 
look at the cellfun problems I have had ;)

You have been right John, my implementation arrayfun.cc is still slower then the 
current implementation because I used the C++ subsref and subsasgn methods for 
all types of input arguments.

The attached changeset includes the following changes to arrayfun.m:
  - created new help text
  - fixed bug in arrayfun function
  - added a lot of test to check my compatibility needs

I hope it is good enough to be included into the default development branch.

Regards,

   Thomas

PS. I have created a similiar large testset for cellfun, should I prepare a 
patch for this or is this some kind of overshooting?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: arrayfun.changeset
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080731/067df437/attachment.ksh 


More information about the Octave-maintainers mailing list