Change to vander.m

Thomas Weber thomas.weber.mail at gmail.com
Tue Jan 15 14:32:43 CST 2008


I'd like to propose the attached patch to vander.m.

Advantage: it's faster for large arguments (a vector size of 3 has a
comparable speed).

Disadvantages: slower for length(c) == 2 and it needs more memory
(although if the memory needs start to be a problem, the for-loop in the
current implementation will hit even harder).

	Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faster_vander.diff
Type: text/x-patch
Size: 801 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080115/ee111ccd/attachment.bin 


More information about the Octave-maintainers mailing list