User:Ganaram inukshuk/Sandbox/Modmosses: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 1: Line 1:
This page is a testing area to compare mosses and their respective modmosses.
This page is a testing area for the following function from Module:TAMNAMS:<pre>
 
 
 
The following function from Module:TAMNAMS is being tested here:<pre>
function p.mode_udp(input_mode, input_mos, mos_abbrev)
function p.mode_udp(input_mode, input_mos, mos_abbrev)
</pre>The function works as follows: given an arbitrary input_mode for an input_mos, find the closest true-mos mode and list the altered scale degrees (alterations) needed to produce that mode. The closest true-mos mode is the mode that requires the fewest alterations to produce the input_mode. If more than one true-mos modes satisfy this condition, then the brightest of those modes is chosen to break the tie.
</pre>The function works as follows: given an arbitrary input_mode for an input_mos, find the closest true-mos mode and list the altered scale degrees (alterations) needed to produce that mode. The closest true-mos mode is the mode that requires the fewest alterations to produce the input_mode. If more than one true-mos modes satisfy this condition, then the brightest of those modes is chosen to break the tie.