<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nars2000.org/index.php?action=history&amp;feed=atom&amp;title=At</id>
	<title>At - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nars2000.org/index.php?action=history&amp;feed=atom&amp;title=At"/>
	<link rel="alternate" type="text/html" href="https://wiki.nars2000.org/index.php?title=At&amp;action=history"/>
	<updated>2026-05-08T05:34:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.7</generator>
	<entry>
		<id>https://wiki.nars2000.org/index.php?title=At&amp;diff=3851&amp;oldid=prev</id>
		<title>WikiSysop: /* Variable v. Jot */</title>
		<link rel="alternate" type="text/html" href="https://wiki.nars2000.org/index.php?title=At&amp;diff=3851&amp;oldid=prev"/>
		<updated>2023-12-04T22:16:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Variable v. Jot&lt;/span&gt;&lt;/span&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:16, 4 December 2023&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-l89&quot;&gt;Line 89:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 89:&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;lt;tr&amp;gt;&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;lt;tr&amp;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;   &amp;lt;td&amp;gt;For example:&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;lt;td&amp;gt;For example:&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;Replace all items of &amp;lt;apll&amp;gt;R&amp;lt;/apll&amp;gt;:&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;Replace all &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of the &lt;/ins&gt;items of &amp;lt;apll&amp;gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/apll&amp;gt; with &amp;lt;apll&amp;gt;¯1&lt;/ins&gt;&amp;lt;/apll&amp;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;&amp;lt;apll&amp;gt;&amp;lt;pre&amp;gt;&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;lt;apll&amp;gt;&amp;lt;pre&amp;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;       ¯1@∘⍳2 3&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;       ¯1@∘⍳2 3&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-l102&quot;&gt;Line 102:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 102:&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;lt;/table&amp;gt;&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;lt;/table&amp;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;&amp;amp;nbsp;&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;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&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;===Function v. Variable===&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;===Function v. Variable===&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;br/&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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://wiki.nars2000.org/index.php?title=At&amp;diff=3850&amp;oldid=prev</id>
		<title>WikiSysop at 22:14, 4 December 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.nars2000.org/index.php?title=At&amp;diff=3850&amp;oldid=prev"/>
		<updated>2023-12-04T22:14:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.nars2000.org/index.php?title=At&amp;amp;diff=3850&amp;amp;oldid=3848&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://wiki.nars2000.org/index.php?title=At&amp;diff=3848&amp;oldid=prev</id>
		<title>WikiSysop: Created page with &quot;==At Derived Functions==  &lt;p&gt;The dyadic At operator is used to index assign into an array &lt;apll&gt;R&lt;/apll&gt;, returning as the result the changed array.  There are four separate cases, depending upon whether the two operands are Variables or Functions. The design of this operator is taken directly from the corresponding feature in Dyalog APL.&lt;/p&gt;  ===Variable v. Variable===  &lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; rules=&quot;none&quot; summary=&quot;&quot;&gt; &lt;tr&gt;   &lt;td&gt;     &lt;table bor...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nars2000.org/index.php?title=At&amp;diff=3848&amp;oldid=prev"/>
		<updated>2023-11-28T02:24:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==At Derived Functions==  &amp;lt;p&amp;gt;The dyadic At operator is used to index assign into an array &amp;lt;apll&amp;gt;R&amp;lt;/apll&amp;gt;, returning as the result the changed array.  There are four separate cases, depending upon whether the two operands are Variables or Functions. The design of this operator is taken directly from the corresponding feature in Dyalog APL.&amp;lt;/p&amp;gt;  ===Variable v. Variable===  &amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; rules=&amp;quot;none&amp;quot; summary=&amp;quot;&amp;quot;&amp;gt; &amp;lt;tr&amp;gt;   &amp;lt;td&amp;gt;     &amp;lt;table bor...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==At Derived Functions==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The dyadic At operator is used to index assign into an array &amp;lt;apll&amp;gt;R&amp;lt;/apll&amp;gt;, returning as the result the changed array.  There are four separate cases, depending upon whether the two operands are Variables or Functions. The design of this operator is taken directly from the corresponding feature in Dyalog APL.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Variable v. Variable===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; rules=&amp;quot;none&amp;quot; summary=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&lt;br /&gt;
    &amp;lt;table border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; summary=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt;&lt;br /&gt;
      &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;apll&amp;gt;Z←&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;@&amp;lt;i&amp;gt;b&amp;lt;/i&amp;gt; R&amp;lt;/apll&amp;gt;&amp;lt;/td&amp;gt;+&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt;Replaces the &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;b&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; items of &amp;lt;apll&amp;gt;R&amp;lt;/apll&amp;gt; with &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt;, where &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; and &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;b&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; are variables.&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;/table&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;For example:&lt;br /&gt;
Replace the 1st and last characters in a string with a string:&lt;br /&gt;
&amp;lt;apll&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
      (⊂&amp;#039;abra&amp;#039;)@(1 5)&amp;#039;scads!&amp;#039;&lt;br /&gt;
 abra cad abra !&amp;lt;/pre&amp;gt;&amp;lt;/apll&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Replace the diagonal elements of a matrix:&lt;br /&gt;
&amp;lt;apll&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;#039;abcd&amp;#039;@(2/¨⍳4)4 4⍴⍳16&lt;br /&gt;
 a  2  3  4&lt;br /&gt;
 5  b  7  8&lt;br /&gt;
 9 10  c 12&lt;br /&gt;
13 14 15  d&amp;lt;/pre&amp;gt;&amp;lt;/apll&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&amp;lt;p&amp;gt;This case is implemented via the anonymous function &amp;lt;apll&amp;gt;{A←⍵ ⋄ 1≥≡A:A⊣A[⊃⍵⍵⌷¨⊂⍳⍴A]←⍺⍺ ⋄ A[⍵⍵]←⍺⍺ ⋄ A}&amp;lt;/apll&amp;gt;.&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
===Function v. Variable===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; rules=&amp;quot;none&amp;quot; summary=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&lt;br /&gt;
    &amp;lt;table border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; summary=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt;&lt;br /&gt;
      &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;apll&amp;gt;Z←{L} &amp;lt;i&amp;gt;f&amp;lt;/i&amp;gt;@&amp;lt;i&amp;gt;b&amp;lt;/i&amp;gt; R&amp;lt;/apll&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt;Replaces the &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;b&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; items of &amp;lt;apll&amp;gt;R&amp;lt;/apll&amp;gt; with &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;f&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; applied to each replaced item, where &amp;lt;apll&amp;gt;{L}&amp;lt;/apll&amp;gt; is an optional left argument to &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;f&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt;, &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;f&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; is a function, and &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;b&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; is a variable.&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;/table&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;For example:&lt;br /&gt;
Replace the diagonal elements of a matrix with their reciprocals:&lt;br /&gt;
&amp;lt;apll&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
      ÷@(2/¨⍳4)4 4⍴⍳16&amp;lt;_x/&amp;gt;&lt;br /&gt;
 1   2    3    4&lt;br /&gt;
 5 1&amp;lt;_r/&amp;gt;6    7    8&lt;br /&gt;
 9  10 1&amp;lt;_r/&amp;gt;11   12&lt;br /&gt;
13  14   15 1&amp;lt;_r/&amp;gt;16&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/apll&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Replace the diagonal elements of a matrix with their duplicates:&lt;br /&gt;
&amp;lt;apll&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
       2/¨@(2/¨⍳4)4 4⍴⍳16&lt;br /&gt;
 1 1    2       3        4 &lt;br /&gt;
   5    6 6     7        8 &lt;br /&gt;
   9   10    11 11      12 &lt;br /&gt;
  13   14      15    16 16&lt;br /&gt;
&amp;lt;/pre&amp;lt;/apll&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&amp;lt;p&amp;gt;This case is implemented via the anonymous function &amp;lt;apll&amp;gt;{⍺←⊢ ⋄ A←⍵ ⋄ 1≥≡A:A⊣A[B]←⍺ ⍺⍺ A[B]⊣B←⊃⍵⍵⌷¨⊂⍳⍴A ⋄ A[⍵⍵]←⍺ ⍺⍺ A[⍵⍵] ⋄ A}&amp;lt;/apll&amp;gt;.&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
===Variable v. Function===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; rules=&amp;quot;none&amp;quot; summary=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&lt;br /&gt;
    &amp;lt;table border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; summary=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt;&lt;br /&gt;
      &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;apll&amp;gt;Z←&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;@&amp;lt;i&amp;gt;g&amp;lt;/i&amp;gt; R&amp;lt;/apll&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt;When the Boolean-valued result of &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;g R&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; is &amp;lt;apll&amp;gt;1&amp;lt;/apll&amp;gt;, replace the corresponding element of &amp;lt;apll&amp;gt;R&amp;lt;/apll&amp;gt; with the corresponding element of &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt;, where &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; is a variable and &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;g&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; is a function.&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;/table&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;For example:&lt;br /&gt;
Replace the prime numbers in R with a character:&lt;br /&gt;
&amp;lt;apll&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;#039;π&amp;#039;@{0π⍵}4 4⍴⍳16&lt;br /&gt;
1  π  π  4&lt;br /&gt;
π  6  π  8&lt;br /&gt;
9 10  π 12&lt;br /&gt;
π 14 15 16&amp;lt;/pre&amp;gt;&amp;lt;/apll&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&amp;lt;p&amp;gt;This case is implemented via the anonymous function &amp;lt;apll&amp;gt;{A←⍵ ⋄ A[⍸⍵⍵ A]←⍺⍺ ⋄ A}&amp;lt;/apll&amp;gt;.&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
===Function v. Function===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; rules=&amp;quot;none&amp;quot; summary=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&lt;br /&gt;
    &amp;lt;table border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; summary=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt;&lt;br /&gt;
      &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&amp;lt;apll&amp;gt;Z←{L} &amp;lt;i&amp;gt;f&amp;lt;/i&amp;gt;@&amp;lt;i&amp;gt;g&amp;lt;/i&amp;gt; R&amp;lt;/apll&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt;When the Boolean-valued result of &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;g&amp;lt;/i&amp;gt; R&amp;lt;/apll&amp;gt; is &amp;lt;apll&amp;gt;1&amp;lt;/apll&amp;gt;, replace the corresponding element of &amp;lt;apll&amp;gt;R&amp;lt;/apll&amp;gt; with &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;f&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; applied to the same element, where &amp;lt;apll&amp;gt;{L}&amp;lt;/apll&amp;gt; is an optional left argument to &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;f&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt;, &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;f&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; and &amp;lt;apll&amp;gt;&amp;lt;i&amp;gt;g&amp;lt;/i&amp;gt;&amp;lt;/apll&amp;gt; are functions.&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;/table&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;For example:&lt;br /&gt;
Replace composite numbers with their factors:&lt;br /&gt;
&amp;lt;apll&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
      π¨@{~0π⍵}4 4⍴⍳16&lt;br /&gt;
 1        2      3  2 2     &lt;br /&gt;
   5    2 3      7  2 2 2   &lt;br /&gt;
 3 3    2 5     11  2 2 3   &lt;br /&gt;
  13    2 7    3 5  2 2 2 2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/apll&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&amp;lt;p&amp;gt;This case is implemented via the anonymous function &amp;lt;apll&amp;gt;{⍺←⊢ ⋄ A←⍵ ⋄ B←⍸⍵⍵ A ⋄ A[B]←⍺ ⍺⍺ A[B] ⋄ A}&amp;lt;/apll&amp;gt;.&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>