Module:Temperament data: Difference between revisions

CompactStar (talk | contribs)
No edit summary
CompactStar (talk | contribs)
No edit summary
Line 19: Line 19:
end
end


local function matadd(a, b)
local result = {}
for i = 1, #a  do
result[i] = {}
for j = 1, #(b[1]) do
result[i][j] =  cadd(a[i][j], b[i][j])
end
end
return result
end


local function matmul(a, b)
local function matmul(a, b)