Roger Hui wrote:
> The methods I suggested work for square and non-square
> (tall, not wide) matrices.
>
>    lii=: 1:@%. ::0:

Fair enough.  I had forgotten that monadic %. works for non-square
matrices, although I am familiar with its dyadic use.

Is there a simple way to calculate rank using this method?  My J-only
solutions all involve something like reduced row echelon form, using the
script libraries.  I suspect the interpreter does a better job.

Best wishes,

John

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

Reply via email to