Thanks Rob and Raul for your help.
Both answers solve my problem. I had the right name for what I wanted to
do, but I had forgotten that there actually is a "laminate" (,:) primitive
in J.

Skip





Skip Cave
Cave Consulting LLC

On Mon, Jan 9, 2017 at 9:00 AM, Skip Cave <[email protected]> wrote:

> Given array a:
>   a
>
> abcd
>
> efgh
>
> ijkl
>
>
> How does one laminate a with itself?
>
>
>   a,a   NB. I'm using , as a placeholder for the verb I want.
>
> abcd
>
> efgh
>
> ijkl
>
>
> abcd
>
> efgh
>
> ijkl
>
>
> What about more than once?
>
>
>   a,a,a
>
> abcd
>
> efgh
>
> ijkl
>
>
> abcd
>
> efgh
>
> ijkl
>
>
> abcd
>
> efgh
>
> ijkl
>
>
>
> Skip
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to