The `#!' mechanism works on Unix systems derived from Berkeley Unix, System V Release 4, and some System V Release 3 systems.
Some of Octave's function are
implemented in terms of functions that cannot be called recursively.
For example, the ODE solver lsode
is ultimately implemented in a
Fortran subroutine that cannot be called recursively, so lsode
should not be called either directly or indirectly from within the
user-supplied function that lsode
requires. Doing so will result
in undefined behavior.
It would be
much better to use prod (1:n)
, or gamma (n+1)
instead,
after first checking to ensure that the value n
is actually a
positive integer.
The `.m' suffix was chosen for compatibility with MATLAB.
Yes, it's a kluge, but it seems to be a reasonably useful one.
For example, to first sort based on the values in column 1, and then, for any values that are repeated in column 1, sort based on the values found in column 2, etc.
This document was generated on 18 June 1999 using the texi2html translator version 1.51.