d=:6 _5 7 3 r=: <./ , >./ r d_5 7 -i.100 _1 _2 _3 _4 _5 _6 _7 _8 _9 {.r d_5 (-i.10)<_50 0 0 0 0 0 1 1 1 1 (-i.10)<{.r d0 0 0 0 0 0 1 1 1 1 (-i.10)</r d0 10 10 10 10 10 11 11 11 11 1
Note, in particular, the difference between these two results: (-i.10)</ {.r d (-i.10)</ 1{.r d -- Raul On Fri, Dec 23, 2011 at 2:41 AM, Linda Alvord <lindaalv...@verizon.net> wrote: > > d=:6 _5 7 3 > r=: 13 :'(<./y),>./y' > r > <./ , >./ > r d > _5 7 > (-i.10) > 0 _1 _2 _3 _4 _5 _6 _7 _8 _9 > 1{.r d > _5 > (-i.10)<_5 > 0 0 0 0 0 0 1 1 1 1 > > (-i.10)<1{.r d > |length error > | (-i.10) <1{.r d > > (-i.10)<(1{.r d) > |length error > | (-i.10) <(1{.r d) > > I want something like this, but this is a simple example of what doesn't > work. > > Linda > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm