On Fri, 10 Jul 2009, Allin Cottrell wrote:
One small thing: "rev" strikes me as kinda cryptic. If
it's
standard usage elsewhere then maybe it's OK, but otherwise I'd
prefer something a bit more explicit, say "mreverse".
Given the replies to this, I've changed the name to "mreverse"
and modified the function as agreed:
to reverse rows: mreverse(m) or mreverse(m,0)
to reverse columns: mreverse(m,1)
Allin