Skip to content
Prev 59853 / 398502 Next

Avoiding for-loops

On Thursday 25 November 2004 11:15, John wrote:
Try 

mtx[lower.tri(mtx)]

which should give you the same order as your code (untested).

HTH,

Deepayan