Hi Paul,
The patch is OK by me.
Thanks for the review. Committed as rev. 250085.
Thanks for working on speeding up these library functions. Does the octave version, mentioned in the clf thread, translate easily into C? I had to remind myself of how octave cell arrays function. It is certainly a remarkably concise solution.
I have to admit that I do not yet know how ocatave does it. A bit of cursory grepping in the source did not reveal any C (or C++) code which uses something called "circshift", so I will have to do some more looking. Regards Thomas