Hello Nick;

This may already be resolved, but...

. An upper triangular matrix seems to be the same thing as a right triangular matrix.
. An upper triangular matrix is the transpose of a lower triangular matrix.
.  A n x n lower triangular matrix of ones can be obtained from  ]\n#1

]\5$1
1 0 0 0 0
1 1 0 0 0
1 1 1 0 0
1 1 1 1 0
1 1 1 1 1

Nick Kostirya wrote:
Hello.

Will you please tell me what is the optimal way to create
upper triangular matrix and right triangular matrix?

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


--
------------------------------------------------------------------------
|\/| Randy A MacDonald       | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ |                         | The only real problem with APL is that
BSc(Math) UNBF'83            | it is "still ahead of its time."
Sapere Aude                  |     - Morten Kromberg
Natural Born APL'er          |
-----------------------------------------------------(INTP)----{ gnat }-



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

Reply via email to