> Try
> A=: ?256$0
>  B=: ?256 312$0
>  1000 (6!:2) 'A +/ .* B'

tried the above and got 0.003414

vector =: 256 [EMAIL PROTECTED] 0
matrix=: 256 312 [EMAIL PROTECTED] 0
1000 (6!:2) 'output =: vector +/ .* matrix'

I my above approach and got 0.0034282

They both came out about the same

I need to get a quad-core 64bit processor if I want more speed.

-- 
View this message in context: 
http://www.nabble.com/Re%3A-speed-of-matrix*vector-operation-tf4774233s24193.html#a13872308
Sent from the J Programming mailing list archive at Nabble.com.

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

Reply via email to