If you really meant matrix multiply:

   6!:2 '(?256$0)+/ . *?256 312$0'
0.0180562

But, of course, this whole exercise is wrong-headed.  The strength of J is
not
in timing comparisons of trivially simple arithmetic, it's in the power and
expressiveness
of the notation.

> I told my friend about how nice J was.  Am I wrong?
> >
> > He said, how fast can you multiply a 1000x1000 matrix times
> > a 1x1000 vector to get a 1x1000 resultant vector.
>
...
-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to