<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://ja.xen.wiki/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AUniform_map</id>
	<title>モジュール:Uniform map - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://ja.xen.wiki/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AUniform_map"/>
	<link rel="alternate" type="text/html" href="https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Uniform_map&amp;action=history"/>
	<updated>2026-06-05T21:06:48Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Uniform_map&amp;diff=844&amp;oldid=prev</id>
		<title>2024年8月19日 (月) 05:32にTessyrrh1016による</title>
		<link rel="alternate" type="text/html" href="https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Uniform_map&amp;diff=844&amp;oldid=prev"/>
		<updated>2024-08-19T05:32:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年8月19日 (月) 05:32時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l122&quot;&gt;122行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;122行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local wtable = &amp;quot;{| class=\&amp;quot;wikitable\&amp;quot;\n&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local wtable = &amp;quot;{| class=\&amp;quot;wikitable\&amp;quot;\n&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		.. &amp;quot;|+ style=\&amp;quot;font-size: 105%; | &amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		.. &amp;quot;|+ style=\&amp;quot;font-size: 105%; | &amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		.. string.format(&quot;%gと%gの間の%&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;d-リミット&lt;/del&gt;[[一様写像]]&quot;, min, max, prime)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		.. string.format(&quot;%gと%gの間の%&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dリミット&lt;/ins&gt;[[一様写像]]&quot;, min, max, prime)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	for i = 1, 3 do&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	for i = 1, 3 do&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		wtable = wtable .. &amp;quot;\n! &amp;quot; .. luatable[1][i]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		wtable = wtable .. &amp;quot;\n! &amp;quot; .. luatable[1][i]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key xenwiki_ja:diff:1.41:old-652:rev-844:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Tessyrrh1016</name></author>
	</entry>
	<entry>
		<id>https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Uniform_map&amp;diff=652&amp;oldid=prev</id>
		<title>2024年8月11日 (日) 10:19にTessyrrh1016による</title>
		<link rel="alternate" type="text/html" href="https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Uniform_map&amp;diff=652&amp;oldid=prev"/>
		<updated>2024-08-11T10:19:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年8月11日 (日) 10:19時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l92&quot;&gt;92行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;92行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local lb = p.lower_bound(map_table) -- Minimum size for the current map&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local lb = p.lower_bound(map_table) -- Minimum size for the current map&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local ub = p.upper_bound(map_table) -- Maximum size for the current map&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local ub = p.upper_bound(map_table) -- Maximum size for the current map&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local row = {&quot;最小サイズ&quot;, &quot;最大サイズ&quot;, &quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{en仮リンク|&lt;/del&gt;Wart記法&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|Wart notation}}&lt;/del&gt;&quot;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local row = {&quot;最小サイズ&quot;, &quot;最大サイズ&quot;, &quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;Wart記法&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;&quot;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	for i = 1, #map_table.map do&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	for i = 1, #map_table.map do&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		table.insert(row, utils.primes[i])&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		table.insert(row, utils.primes[i])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tessyrrh1016</name></author>
	</entry>
	<entry>
		<id>https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Uniform_map&amp;diff=651&amp;oldid=prev</id>
		<title>2024年8月11日 (日) 10:18にTessyrrh1016による</title>
		<link rel="alternate" type="text/html" href="https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Uniform_map&amp;diff=651&amp;oldid=prev"/>
		<updated>2024-08-11T10:18:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年8月11日 (日) 10:18時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l92&quot;&gt;92行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;92行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local lb = p.lower_bound(map_table) -- Minimum size for the current map&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local lb = p.lower_bound(map_table) -- Minimum size for the current map&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local ub = p.upper_bound(map_table) -- Maximum size for the current map&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local ub = p.upper_bound(map_table) -- Maximum size for the current map&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local row = {&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Min. size&lt;/del&gt;&quot;, &quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Max. size&lt;/del&gt;&quot;, &quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/del&gt;Wart notation&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&quot;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local row = {&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;最小サイズ&lt;/ins&gt;&quot;, &quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;最大サイズ&lt;/ins&gt;&quot;, &quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{en仮リンク|Wart記法|&lt;/ins&gt;Wart notation&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;&quot;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	for i = 1, #map_table.map do&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	for i = 1, #map_table.map do&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		table.insert(row, utils.primes[i])&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		table.insert(row, utils.primes[i])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l122&quot;&gt;122行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;122行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local wtable = &amp;quot;{| class=\&amp;quot;wikitable\&amp;quot;\n&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local wtable = &amp;quot;{| class=\&amp;quot;wikitable\&amp;quot;\n&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		.. &amp;quot;|+ style=\&amp;quot;font-size: 105%; | &amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		.. &amp;quot;|+ style=\&amp;quot;font-size: 105%; | &amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		.. string.format(&quot;%d-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;limit &lt;/del&gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uniform map&lt;/del&gt;]]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;s between %g and %g&lt;/del&gt;&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, prime&lt;/del&gt;, min, max)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		.. string.format(&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;%gと%gの間の&lt;/ins&gt;%d-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;リミット&lt;/ins&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;一様写像&lt;/ins&gt;]]&quot;, min, max&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, prime&lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	for i = 1, 3 do&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	for i = 1, 3 do&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		wtable = wtable .. &amp;quot;\n! &amp;quot; .. luatable[1][i]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		wtable = wtable .. &amp;quot;\n! &amp;quot; .. luatable[1][i]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tessyrrh1016</name></author>
	</entry>
	<entry>
		<id>https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Uniform_map&amp;diff=646&amp;oldid=prev</id>
		<title>Tessyrrh1016: :en:module:uniform map よりコピー</title>
		<link rel="alternate" type="text/html" href="https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Uniform_map&amp;diff=646&amp;oldid=prev"/>
		<updated>2024-08-11T09:57:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;https://en.xen.wiki/w/module:uniform_map&quot; class=&quot;extiw&quot; title=&quot;en:module:uniform map&quot;&gt;en:module:uniform map&lt;/a&gt; よりコピー&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local getArgs = require(&amp;quot;Module:Arguments&amp;quot;).getArgs&lt;br /&gt;
local utils = require(&amp;quot;Module:Utils&amp;quot;)&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- stylua: ignore&lt;br /&gt;
local warts = {&lt;br /&gt;
	&amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot;, &amp;quot;d&amp;quot;, &amp;quot;e&amp;quot;, &amp;quot;f&amp;quot;, &amp;quot;g&amp;quot;, &amp;quot;h&amp;quot;, &amp;quot;i&amp;quot;,&lt;br /&gt;
    &amp;quot;j&amp;quot;, &amp;quot;k&amp;quot;, &amp;quot;l&amp;quot;, &amp;quot;m&amp;quot;, &amp;quot;n&amp;quot;, &amp;quot;o&amp;quot;, &amp;quot;p&amp;quot;, &amp;quot;q&amp;quot;, &amp;quot;r&amp;quot;,&lt;br /&gt;
    &amp;quot;s&amp;quot;, &amp;quot;t&amp;quot;, &amp;quot;u&amp;quot;, &amp;quot;v&amp;quot;, &amp;quot;w&amp;quot;, &amp;quot;x&amp;quot;, &amp;quot;y&amp;quot;, &amp;quot;z&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function p.new()&lt;br /&gt;
	local m = {}&lt;br /&gt;
	m.map = {} -- The prime map&lt;br /&gt;
	m.lower = {} -- List of smallest sizes that match a map for each prime&lt;br /&gt;
	m.upper = {} -- List of largest sizes that match a map for each prime&lt;br /&gt;
	m.pbi = 0 -- Index of the prime that defines the boundary&lt;br /&gt;
	return m&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Find the minimum size that corresponds to a given map&lt;br /&gt;
function p.lower_bound(m)&lt;br /&gt;
	local lowermax&lt;br /&gt;
	for i = 1, #m.map do&lt;br /&gt;
		m.lower[i] = (m.map[i] - 0.5) / utils.log2(utils.primes[i])&lt;br /&gt;
		lowermax = math.max(unpack(m.lower))&lt;br /&gt;
	end&lt;br /&gt;
	return math.max(0, lowermax)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Find the maximum size that corresponds to a given map&lt;br /&gt;
function p.upper_bound(m)&lt;br /&gt;
	local uppermin&lt;br /&gt;
	for i = 1, #m.map do&lt;br /&gt;
		m.upper[i] = (m.map[i] + 1 / 2) / utils.log2(utils.primes[i])&lt;br /&gt;
		uppermin = math.min(unpack(m.upper))&lt;br /&gt;
		m.pbi = utils.index_of(m.upper, uppermin)&lt;br /&gt;
	end&lt;br /&gt;
	return math.max(0, uppermin)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Find the p-limit just tuning map corresponding to a given size&lt;br /&gt;
function p.just_tuning_map(size, prime)&lt;br /&gt;
	prime = tonumber(prime)&lt;br /&gt;
	local p_index = utils.index_of(utils.primes, prime)&lt;br /&gt;
	assert(p_index ~= nil, &amp;quot;index of prime &amp;quot; .. prime .. &amp;quot; not found&amp;quot;)&lt;br /&gt;
	local just_tuning_map = {}&lt;br /&gt;
	for i = 1, utils.index_of(utils.primes, prime) do&lt;br /&gt;
		just_tuning_map[i] = size * utils.log2(utils.primes[i])&lt;br /&gt;
	end&lt;br /&gt;
	return just_tuning_map&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Find the p-limit simple map corresponding to a given size&lt;br /&gt;
function p.simple_map(size, prime)&lt;br /&gt;
	prime = tonumber(prime)&lt;br /&gt;
	local p_index = utils.index_of(utils.primes, prime)&lt;br /&gt;
	assert(p_index ~= nil, &amp;quot;index of prime &amp;quot; .. prime .. &amp;quot; not found&amp;quot;)&lt;br /&gt;
	local simple_map = {}&lt;br /&gt;
	for i = 1, p_index do&lt;br /&gt;
		simple_map[i] = math.floor(0.5 + size * utils.log2(utils.primes[i]))&lt;br /&gt;
	end&lt;br /&gt;
	return simple_map&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Find the wart notation corresponding to a given map&lt;br /&gt;
function p.wart(map)&lt;br /&gt;
	local edo = map[1]&lt;br /&gt;
	local simple_map_edo = p.simple_map(edo, utils.primes[#map])&lt;br /&gt;
	local just_tuning_map_edo = p.just_tuning_map(edo, utils.primes[#map])&lt;br /&gt;
	local wart_notation = edo&lt;br /&gt;
	for i = 2, #map do&lt;br /&gt;
		-- direction is 1 if current harmonic mapped flatter than just, otherwise 0&lt;br /&gt;
		local direction = math.ceil(just_tuning_map_edo[i] - simple_map_edo[i])&lt;br /&gt;
		local difference = map[i] - simple_map_edo[i]&lt;br /&gt;
		if difference ~= 0 then&lt;br /&gt;
			local number_warts = (2 * math.abs(difference) + (utils.signum((-1) ^ direction * difference) - 1) / 2)&lt;br /&gt;
			for _ = 1, number_warts do&lt;br /&gt;
				wart_notation = wart_notation .. warts[i]&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return wart_notation&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Generate table of p-limit uniform maps between min and max, for use with print_table&lt;br /&gt;
-- Could potentially be used standalone for raw data with headers&lt;br /&gt;
function p.make_table(prime, min, max)&lt;br /&gt;
	local maptable = {} -- Table of uniform maps with boundaries and wart notation&lt;br /&gt;
	local map_table = p.new()&lt;br /&gt;
	map_table.map = p.simple_map(min, prime) -- Set p-limit map for minimum size&lt;br /&gt;
	local lb = p.lower_bound(map_table) -- Minimum size for the current map&lt;br /&gt;
	local ub = p.upper_bound(map_table) -- Maximum size for the current map&lt;br /&gt;
	local row = {&amp;quot;Min. size&amp;quot;, &amp;quot;Max. size&amp;quot;, &amp;quot;[[Wart notation]]&amp;quot;}&lt;br /&gt;
	for i = 1, #map_table.map do&lt;br /&gt;
		table.insert(row, utils.primes[i])&lt;br /&gt;
	end&lt;br /&gt;
	table.insert(maptable, row)&lt;br /&gt;
	while lb &amp;lt; max do&lt;br /&gt;
		row = {string.format(&amp;quot;%.4f&amp;quot;, lb), string.format(&amp;quot;%.4f&amp;quot;, ub), p.wart(map_table.map)}&lt;br /&gt;
		for j = 1, #map_table.map do&lt;br /&gt;
			table.insert(row, map_table.map[j])&lt;br /&gt;
		end&lt;br /&gt;
		table.insert(maptable, row)&lt;br /&gt;
		map_table.map[map_table.pbi] = map_table.map[map_table.pbi] + 1&lt;br /&gt;
		lb = p.lower_bound(map_table)&lt;br /&gt;
		ub = p.upper_bound(map_table)&lt;br /&gt;
	end&lt;br /&gt;
	return maptable&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Print wiki-formatted table (string) of p-limit uniform maps between min and max&lt;br /&gt;
function p.print_table(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	local prime = args[1]&lt;br /&gt;
	local min = args[2]&lt;br /&gt;
	local max = args[3]&lt;br /&gt;
	if utils.index_of(utils.primes, utils.eval_num_arg(prime, 5)) == nil then&lt;br /&gt;
		prime = 5 -- Default to 5-limit&lt;br /&gt;
	end&lt;br /&gt;
	local luatable = p.make_table(prime, utils.eval_num_arg(min, 11.5), utils.eval_num_arg(max, 12.5))&lt;br /&gt;
	local wtable = &amp;quot;{| class=\&amp;quot;wikitable\&amp;quot;\n&amp;quot;&lt;br /&gt;
		.. &amp;quot;|+ style=\&amp;quot;font-size: 105%; | &amp;quot;&lt;br /&gt;
		.. string.format(&amp;quot;%d-limit [[uniform map]]s between %g and %g&amp;quot;, prime, min, max)&lt;br /&gt;
	for i = 1, 3 do&lt;br /&gt;
		wtable = wtable .. &amp;quot;\n! &amp;quot; .. luatable[1][i]&lt;br /&gt;
	end&lt;br /&gt;
	wtable = wtable .. &amp;quot;\n! Map&amp;quot;&lt;br /&gt;
	for i = 2, #luatable do&lt;br /&gt;
		wtable = wtable .. &amp;quot;\n|-&amp;quot;&lt;br /&gt;
		for j = 1, 3 do&lt;br /&gt;
			wtable = wtable .. &amp;quot;\n| &amp;quot; .. luatable[i][j]&lt;br /&gt;
		end&lt;br /&gt;
		local wikimap = &amp;quot;&amp;quot;&lt;br /&gt;
		for j = 4, #luatable[i] do&lt;br /&gt;
			wikimap = wikimap .. &amp;quot; &amp;quot; .. luatable[i][j]&lt;br /&gt;
		end&lt;br /&gt;
		wtable = wtable .. &amp;quot;\n| &amp;quot; .. frame:expandTemplate({ title = &amp;quot;map&amp;quot;, args = { wikimap } })&lt;br /&gt;
	end&lt;br /&gt;
	wtable = wtable .. &amp;quot;\n|}&amp;quot;&lt;br /&gt;
	return wtable&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Tessyrrh1016</name></author>
	</entry>
</feed>