I am looking for a concise expression to find eigenvalues in J (for
small matrices)

lapack is not universally available, so I am ignoring it.

Here's the best I have been able to find (loosely based on an "At Play
With J" article)

ev=: 1 {:: [: p.@> [: -&.>/ .(+//.@(*/)&.>) ] <@,"0 -@=@i.@#

Is there some way to eliminate the boxing and unboxing here?

Thanks,

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

Reply via email to