Module:MOS: Difference between revisions
No edit summary |
No edit summary |
||
| Line 130: | Line 130: | ||
end | end | ||
-- Find the brightest mode of a mos | -- Find the brightest mode of a mos (the Christoffel word) | ||
-- using its definition as a closest integer approximation to line y = #s/#m*x | |||
function p.brightest_mode(mos) | function p.brightest_mode(mos) | ||
local nL = mos.nL | local nL = mos.nL | ||