On 7/25/07, Chris Burke <[EMAIL PROTECTED]> wrote:
adam dunne wrote:
> table=:1 :'[ ((u stringu)&;@,[EMAIL PROTECTED],.]) ] over u/'
> stringu=:1 :'5!:5<''u'' '
> over=:({.;}.)@":@,
>   (i.5) * table i.5
> ┌─┬───────────┐
> │*│0 1 2  3  4│
> ├─┼───────────┤
> │0│0 0 0  0  0│
> │1│0 1 2  3  4│
> │2│0 2 4  6  8│
> │3│0 3 6  9 12│
> │4│0 4 8 12 16│
>

This looks like the definition of table in the standard library, i.e.
load J, then enter:

 * table i.5
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

It's the same, except I have the verb instead of a blank in top left
corner of the table
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to