> \:; L F"0 0/ W Oh, I missed the / originally. That changes the answer.
> (6 1 5 2 3 4) -: \: ... And I just realized this is impossible. 5 0 4 1 2 3 is a possible output of \: but 6 1 5 2 3 4 is not. This looks like you have an origin-1 problem. Does this question stem from an APL question? Is that why you used ; rather than > ? The question of ; vs > is important in J. Can you tell us why you selected ; and a case where 6=#;y but 6~:#>y ? Are the results produced by F not conformable (identical in shape an type)? In your example, F =: 4 : 'x^2 - y^2' which is a scalar output (for scalar input). Can you confirm F always produces scalar output (for scalar input)? -Dan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
