On Thu, 4 Jul 2019, Sven Schreiber wrote:
Hi,
this is a feature request which I grabbed from an old thread:
"to make one-liners like "r = filter(p | zeros(rows(q)-1, 1), q)" more
economical -and other code as well-
wouldn't it be good if the column number argument of zeros() became
optional with a default of 1, such that zeros(rows(q)-1) would be
equivalent to zeros(rows(q)-1, 1)?
(And the same for: ones(), mnormal(), muniform(), and possibly also
mrandgen().)
That would often be very convenient I think.
It would save two keystrokes (or three, if you're in the habit of
separating function arguments with spaces).
Actually if there are no objections about the request maybe
that's
something that might be relatively easy to implement, so I might try it
myself.
I have no objection, though it seems to me of low priority.
Allin