Description of fast matrix multiplication algorithm: ⟨12×13×14:1370⟩

Algorithm type

3⁢X6⁢Y4⁢Z4+23⁢X5⁢Y4⁢Z4+6⁢X3⁢Y4⁢Z6+49⁢X4⁢Y4⁢Z4+X2⁢Y2⁢Z8+13⁢X3⁢Y4⁢Z4+X⁢Y2⁢Z8+23⁢X6⁢Y2⁢Z2+8⁢X2⁢Y4⁢Z4+9⁢X2⁢Y2⁢Z6+65⁢X5⁢Y2⁢Z2+15⁢X3⁢Y4⁢Z2+24⁢X3⁢Y2⁢Z4+3⁢X⁢Y2⁢Z6+4⁢X6⁢Y⁢Z+3⁢X5⁢Y2⁢Z+125⁢X4⁢Y2⁢Z2+6⁢X3⁢Y2⁢Z3+20⁢X2⁢Y4⁢Z2+21⁢X2⁢Y2⁢Z4+10⁢X5⁢Y⁢Z+6⁢X4⁢Y2⁢Z+156⁢X3⁢Y2⁢Z2+6⁢X2⁢Y2⁢Z3+2⁢X2⁢Y⁢Z4+4⁢X⁢Y4⁢Z2+18⁢X4⁢Y⁢Z+58⁢X3⁢Y2⁢Z+66⁢X3⁢Y⁢Z2+76⁢X2⁢Y2⁢Z2+12⁢X2⁢Y⁢Z3+2⁢X⁢Y⁢Z4+154⁢X3⁢Y⁢Z+43⁢X2⁢Y2⁢Z+38⁢X2⁢Y⁢Z2+9⁢X⁢Y2⁢Z2+12⁢X⁢Y⁢Z3+131⁢X2⁢Y⁢Z+28⁢X⁢Y2⁢Z+30⁢X⁢Y⁢Z2+87⁢X⁢Y⁢Z3X6Y4Z423X5Y4Z46X3Y4Z649X4Y4Z4X2Y2Z813X3Y4Z4XY2Z823X6Y2Z28X2Y4Z49X2Y2Z665X5Y2Z215X3Y4Z224X3Y2Z43XY2Z64X6YZ3X5Y2Z125X4Y2Z26X3Y2Z320X2Y4Z221X2Y2Z410X5YZ6X4Y2Z156X3Y2Z26X2Y2Z32X2YZ44XY4Z218X4YZ58X3Y2Z66X3YZ276X2Y2Z212X2YZ32XYZ4154X3YZ43X2Y2Z38X2YZ29XY2Z212XYZ3131X2YZ28XY2Z30XYZ287XYZ3*X^6*Y^4*Z^4+23*X^5*Y^4*Z^4+6*X^3*Y^4*Z^6+49*X^4*Y^4*Z^4+X^2*Y^2*Z^8+13*X^3*Y^4*Z^4+X*Y^2*Z^8+23*X^6*Y^2*Z^2+8*X^2*Y^4*Z^4+9*X^2*Y^2*Z^6+65*X^5*Y^2*Z^2+15*X^3*Y^4*Z^2+24*X^3*Y^2*Z^4+3*X*Y^2*Z^6+4*X^6*Y*Z+3*X^5*Y^2*Z+125*X^4*Y^2*Z^2+6*X^3*Y^2*Z^3+20*X^2*Y^4*Z^2+21*X^2*Y^2*Z^4+10*X^5*Y*Z+6*X^4*Y^2*Z+156*X^3*Y^2*Z^2+6*X^2*Y^2*Z^3+2*X^2*Y*Z^4+4*X*Y^4*Z^2+18*X^4*Y*Z+58*X^3*Y^2*Z+66*X^3*Y*Z^2+76*X^2*Y^2*Z^2+12*X^2*Y*Z^3+2*X*Y*Z^4+154*X^3*Y*Z+43*X^2*Y^2*Z+38*X^2*Y*Z^2+9*X*Y^2*Z^2+12*X*Y*Z^3+131*X^2*Y*Z+28*X*Y^2*Z+30*X*Y*Z^2+87*X*Y*Z

Algorithm definition

The algorithm ⟨12×13×14:1370⟩ 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