<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://www.mesham.com/index.php?action=history&amp;feed=atom&amp;title=Arraydist</id>
	<title>Arraydist - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.mesham.com/index.php?action=history&amp;feed=atom&amp;title=Arraydist"/>
	<link rel="alternate" type="text/html" href="http://www.mesham.com/index.php?title=Arraydist&amp;action=history"/>
	<updated>2026-04-23T14:59:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://www.mesham.com/index.php?title=Arraydist&amp;diff=1346&amp;oldid=prev</id>
		<title>Polas: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://www.mesham.com/index.php?title=Arraydist&amp;diff=1346&amp;oldid=prev"/>
		<updated>2019-04-15T15:45:05Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:45, 15 April 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Polas</name></author>
		
	</entry>
	<entry>
		<id>http://www.mesham.com/index.php?title=Arraydist&amp;diff=1345&amp;oldid=prev</id>
		<title>Polas: Created page with &#039;== Syntax ==  arraydist[integer array]  == Semantics ==  Will distribute data blocks amongst the processes dependant on the integer array supplied. The number of elements in this…&#039;</title>
		<link rel="alternate" type="text/html" href="http://www.mesham.com/index.php?title=Arraydist&amp;diff=1345&amp;oldid=prev"/>
		<updated>2013-05-09T15:42:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Syntax ==  arraydist[integer array]  == Semantics ==  Will distribute data blocks amongst the processes dependant on the integer array supplied. The number of elements in this…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
arraydist[integer array]&lt;br /&gt;
&lt;br /&gt;
== Semantics ==&lt;br /&gt;
&lt;br /&gt;
Will distribute data blocks amongst the processes dependant on the integer array supplied. The number of elements in this array must equal the number of blocks. The index of each element corresponds to the block Id and the value at this location the process that it resides upon. For example, the value 5 at location 2 will place block number 2 onto process 5.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
 function void main() {&lt;br /&gt;
    var d:array[Int,4];&lt;br /&gt;
    d[0]:=3;&lt;br /&gt;
    d[1]:=0;&lt;br /&gt;
    d[2]:=2;&lt;br /&gt;
    d[3]:=1;&lt;br /&gt;
 &lt;br /&gt;
    var a:array[Int,16,16] :: allocated[horizontal[4] :: single[arraydist[d]]];&lt;br /&gt;
    var b:array[Int,16,16] :: allocated[single[on[1]]];&lt;br /&gt;
    a:=b;&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
In this example the array is split using horizontal partitioning into 4 blocks, the first block held on process 3, the second on process 0, third on process 2 and lastly the fourth on process 1. In the assignment on line 10 the data in array &amp;#039;&amp;#039;b&amp;#039;&amp;#039; is distributed to the correct blocks which are held on the appropriate processes depending on the array distribution. To change what data goes where one can simply modify the values in array &amp;#039;&amp;#039;d&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Since: Version 1.0&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Type Library]]&lt;br /&gt;
[[Category:Compound Types]]&lt;br /&gt;
[[Category:Distribution Types]]&lt;/div&gt;</summary>
		<author><name>Polas</name></author>
		
	</entry>
</feed>