Module:MOS: Difference between revisions

Inthar (talk | contribs)
mNo edit summary
Inthar (talk | contribs)
mNo edit summary
Line 131: Line 131:


-- Find the brightest mode of a mos (the Christoffel word)
-- Find the brightest mode of a mos (the Christoffel word)
-- using its definition as a closest integer approximation to line y = #s/#m*x
-- using its definition as a closest integer approximation to line y = #s/#L*x
function p.brightest_mode(mos)
function p.brightest_mode(mos)
local nL = mos.nL
local nL = mos.nL