Description of fast matrix multiplication algorithm: ⟨5×12×16:655⟩

Algorithm type

12⁢X4⁢Y4⁢Z4+16⁢X2⁢Y8⁢Z2+3⁢X4⁢Y4⁢Z3+X4⁢Y4⁢Z2+2⁢X4⁢Y3⁢Z3+24⁢X3⁢Y4⁢Z3+3⁢X2⁢Y6⁢Z2+17⁢X⁢Y8⁢Z+3⁢X5⁢Y2⁢Z2+5⁢X3⁢Y3⁢Z3+X2⁢Y6⁢Z+X2⁢Y5⁢Z2+X2⁢Y4⁢Z3+2⁢X2⁢Y2⁢Z5+X⁢Y7⁢Z+2⁢X4⁢Y2⁢Z2+3⁢X3⁢Y3⁢Z2+83⁢X2⁢Y4⁢Z2+13⁢X2⁢Y2⁢Z4+8⁢X⁢Y6⁢Z+X⁢Y4⁢Z3+2⁢X⁢Y2⁢Z5+X3⁢Y2⁢Z2+13⁢X2⁢Y4⁢Z+13⁢X2⁢Y3⁢Z2+12⁢X2⁢Y2⁢Z3+2⁢X⁢Y5⁢Z+4⁢X⁢Y4⁢Z2+6⁢X3⁢Y2⁢Z+3⁢X2⁢Y3⁢Z+56⁢X2⁢Y2⁢Z2+2⁢X2⁢Y⁢Z3+55⁢X⁢Y4⁢Z+18⁢X⁢Y2⁢Z3+6⁢X3⁢Y⁢Z+9⁢X2⁢Y2⁢Z+17⁢X⁢Y3⁢Z+33⁢X⁢Y2⁢Z2+9⁢X⁢Y⁢Z3+6⁢X2⁢Y⁢Z+98⁢X⁢Y2⁢Z+32⁢X⁢Y⁢Z2+56⁢X⁢Y⁢Z12X4Y4Z416X2Y8Z23X4Y4Z3X4Y4Z22X4Y3Z324X3Y4Z33X2Y6Z217XY8Z3X5Y2Z25X3Y3Z3X2Y6ZX2Y5Z2X2Y4Z32X2Y2Z5XY7Z2X4Y2Z23X3Y3Z283X2Y4Z213X2Y2Z48XY6ZXY4Z32XY2Z5X3Y2Z213X2Y4Z13X2Y3Z212X2Y2Z32XY5Z4XY4Z26X3Y2Z3X2Y3Z56X2Y2Z22X2YZ355XY4Z18XY2Z36X3YZ9X2Y2Z17XY3Z33XY2Z29XYZ36X2YZ98XY2Z32XYZ256XYZ12*X^4*Y^4*Z^4+16*X^2*Y^8*Z^2+3*X^4*Y^4*Z^3+X^4*Y^4*Z^2+2*X^4*Y^3*Z^3+24*X^3*Y^4*Z^3+3*X^2*Y^6*Z^2+17*X*Y^8*Z+3*X^5*Y^2*Z^2+5*X^3*Y^3*Z^3+X^2*Y^6*Z+X^2*Y^5*Z^2+X^2*Y^4*Z^3+2*X^2*Y^2*Z^5+X*Y^7*Z+2*X^4*Y^2*Z^2+3*X^3*Y^3*Z^2+83*X^2*Y^4*Z^2+13*X^2*Y^2*Z^4+8*X*Y^6*Z+X*Y^4*Z^3+2*X*Y^2*Z^5+X^3*Y^2*Z^2+13*X^2*Y^4*Z+13*X^2*Y^3*Z^2+12*X^2*Y^2*Z^3+2*X*Y^5*Z+4*X*Y^4*Z^2+6*X^3*Y^2*Z+3*X^2*Y^3*Z+56*X^2*Y^2*Z^2+2*X^2*Y*Z^3+55*X*Y^4*Z+18*X*Y^2*Z^3+6*X^3*Y*Z+9*X^2*Y^2*Z+17*X*Y^3*Z+33*X*Y^2*Z^2+9*X*Y*Z^3+6*X^2*Y*Z+98*X*Y^2*Z+32*X*Y*Z^2+56*X*Y*Z

Algorithm definition

The algorithm ⟨5×12×16:655⟩ is taken from:

Andrew I. Perminov. FastMatrixMultiplication, GitHub, February 2026. [ GitHub repository ]

Algorithm description

These encodings are given in compressed text format using the maple computer algebra system. In each cases, the last line could be understood as a description of the encoding with respect to classical matrix multiplication algorithm. As these outputs are structured, one can construct easily a parser to its favorite format using the maple documentation without this software.


Back to main table