Does anybody have a matrix multiplication algorithm for matrices stored in lists? I need a way to perform massive matrix multiplications on matrices compressed into lists. In my compression, a matrix

[[a,b,c][d,e,f][g,h,i]] is stored row by row in a list: {a,b,c,d,e,f,g,h,i}. I would like an algorithm for multiplying an m*n matrix by a p*m matrix and keeping it in this list compression syntax.

Matrix multiplication

Summary:

Fastest way to perform a matrix multiplication on a list?