On Thu, Dec 10, 2015 at 3:13 AM, Linda A Alvord <lindaalv...@verizon.net> wrote:
> (I couldn't remember a shortcut to get a diagonal from a square matrix.

m7, m8, m9 and m10 from
http://www.jsoftware.com/help/phrases/special_matrices.htm get the
main diagonal (leading from the upper left corner to the lower right
of the table). But m9 only works on square tables (where the end of
that diagonal is also the lower right corner).

You can also get all of the diagonals that cross the main one using
monadic (u/.)

Does any of this help?

Thanks,

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

Reply via email to