matrixMultiplication
Description
Written in base lua, should work in all lua projects.
Originally designed for polytoria.
Multiplies 2 matricies of any size, as long as math permits it.
Usage
-- IN POLYTOPIA SCRIPT
local MatrixMultiplication = require(game["ScriptService"]["matrixMultiplication"])
-- declare matrices
local mat1 = {
{1,2},
{3,4}
}
local matrix2 = {
{5,6},
{7,8}
}
-- multiply them
local result = MatrixMultiplication(mat1,mat2)
Additional info
Discord - Gokselgnujd
License
MIT - license