I use the following to produce an identity matrix because it's faster:
idMat=: 2&$ $ ([: >: ]) {. 1"_
which is a tacit version of
idMat=: 3 : '(2$y.)$(>:y.){.1'Can't say I've ever used monadic e. but I like Oleg's pictures. On 3/22/06, Henry Rich <[EMAIL PROTECTED]> wrote: > > Except for e. i. n to produce an identity matrix, has anybody > ever used monad e. ? > > Henry Rich > Devon -- Devon McCormick ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
