A colleague was surprised to find that it is illegal to pass
the same argument twice to a subroutine if either version can
be changed in the subroutine. He has been using this device
regularly with IMSL which advocates this with many of its
routines. I checked that it does this with FFT's, sorting
and array permutation routines.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|