local matrix = {
{-100, -100, 100},
{-100, -100, 100},
}
local result1 = MatrixL:subtract(matrix, matrix, matrix)
local result2 = MatrixL:subtract(matrix, 100)
MatrixL:printMatrix(result1)
MatrixL:printMatrix(result2)
subtract(...): matrix
… : any number of matrices or scalar.
result: the resultant matrix after operations have been applied.