Hi!

I want to write some nice J code using $: instead of nasty for loops. Please
help me.

I have a monadic verb (let's call it monverb) which I want to call out 500
times with arguments 0 to 499. Each call of this verb produces a list of 500
numbers. As a result I want to get 500 * 500 matrix where each row presents
the each call result.

I have figured out that I should use $: for self referencing and increment
the argument with each call. And I should use @. to decide when to stop but
putting it all together is currently beyond my reason. 

Kairit Sirts


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to