On 5/31/08, Sherlock, Ric <[EMAIL PROTECTED]> wrote:
> I'm hesitant to ask, but in the interests of furthering my
> understanding of the concepts (rather than just knowledge of
> solutions), why does the following give a rank error?
> ((0 1 2,:0 2 1){ops) /"1 _] 1 2 3 4
Well...
First off, note that
+/"1 _]1 2 3 4
10
The "1 _ is irrelevant.
So the above expression would be equivalent to
g=: (0 1 2,:0 2 1){ops
g/1 2 3 4
Anyways, I imagine that the problem is that 0{ g and
1 { g would not be structured properly to be treated
as gerunds.
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm