I don't understand why the following two verbs don't work identically. The result of the first one is what I intend. The form of the second is what I prefer.
dyadicForm=: [ I.@:] } -.@:] 4 dyadicForm 0 1 1 0 1 0 0 1 4 0 0 4 0 4 4 0 monadicForm=: +/ I. } -. monadicForm 0 1 1 0 1 0 0 1 4 0 0 1 0 1 1 0 Why does the result of summation not apply across all the indices where zeros occur in the argument? -- Tracy ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
