Code covered by the BSD License  

Highlights from
MMX - Multithreaded matrix operations on N-D matrices

image thumbnail

MMX - Multithreaded matrix operations on N-D matrices

by

 

16 Jul 2012 (Updated )

N-D matrix operations. Like Boettcher's ndfun or Tursa's mtimesx, only faster.

matlab_mprod(a,b)
function c = matlab_mprod(a,b)
c  = zeros(size(a,1),size(b,2),size(a,3));
for i = 1:size(a,3)
   c(:,:,i) = a(:,:,i)*b(:,:,i);
end

Contact us