Dear J Forum:
I know that (<0 1) |: takes the values of the main diagonal of a matrix.
But if I want to set the values of the main diagonal is there a similar
shortcut?  For now I'm using (1 1);(2 2); . ; (n n)}, but suspect that
there's a better way.  Thanks.
Sincerely,
Leigh
 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to