Thanks, very obvious indeed, wondering why I have not seen it myself.
I think it is worth an additional sentence in the J reference or JforC.
Regards, Markus
Roger Hui schrieb:
This time I do remember, having re-read it only
earlier today. Quoting from
http://www.jsoftware.com/pipermail/general/2007-April/029638.html
http://www.jsoftware.com/help/jforc/more_verbs.htm
comments on the order of arguments in /: and \: .
In these cases the answer is "obvious". With
the current order of arguments,
/: y \: y
x /: y x \: y
it is always the right argument which is being
graded.
----- Original Message -----
From: Markus Schmidt-Groettrup <[EMAIL PROTECTED]>
Date: Wednesday, May 23, 2007 3:03 pm
Subject: Re: [Jgeneral] Why does the Residue function take its arguments in
"reverse" order
The question has been answered already. The mathematical
convention is
too important.
Thus minus - , divide %, less -. , element e. and by the way
Matrix
divide % have the
conventional arguments and differ from the J rule:
"x are the control information - y are the data" as expressed in JfC.
But so far I have not seen the argument, why the sort /: and \:
behave
different.
When writing code I quite often make mistakes here, so a good
argument
would help to remember.
Thanks,
Markus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm