Raul,

a: */ . = A is very impressive to me especially because it seems to avoid
the transpose.
I want to remember it because I  have occasionally thought a special case
in J for &.|: would be very effective, but perhaps next time that occurs to
me I'll remember your answer here.

On Wed, Jun 1, 2016 at 10:07 AM, Raul Miller <[email protected]> wrote:

> Or, there's a general pattern leading in the direction of (the
> incredibly useful) linear algebra:
>
>       A=:(;:'b c') (0 0;2 2)}3 3$a:
>       */"1 a: = A
> 0 1 0
>       a: */ .= A
> 0 1 0
>
> --
> Raul
>
>
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to