<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - comments on Post, Tip: Transpose a pair of indices of an Array</title>
    <link>http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sat, 13 Jun 2026 18:17:01 GMT</lastBuildDate>
    <pubDate>Sat, 13 Jun 2026 18:17:01 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest comments added to the Post, Tip: Transpose a pair of indices of an Array</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - comments on Post, Tip: Transpose a pair of indices of an Array</title>
      <link>http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array</link>
    </image>
    <item>
      <title>Arrays Vs Matrices</title>
      <link>http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array?ref=Feed:MaplePrimes:Tip: Transpose a pair of indices of an Array:Comments#comment76540</link>
      <itunes:summary>John, 

Thanks for the posts.  You seem to be very knowledgeable of arrays, so I would like to ask if you can provide an answer or post on a question I've been nagging mapleprimes users on for a while.

Can you elaborate on the difference between a matrix and an array with respect to Maple ?

Guidance welcomed,

Respectfully,

</itunes:summary>
      <description>The latest comments added to the Post, Tip: Transpose a pair of indices of an Array</description>
      <guid>76540</guid>
      <pubDate>Fri, 29 Jun 2007 18:50:29 Z</pubDate>
      <itunes:author>dcasimir</itunes:author>
      <author>dcasimir</author>
    </item>
    <item>
      <title>Did you mean array vs matrix, or Array vs Matrix?</title>
      <link>http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array?ref=Feed:MaplePrimes:Tip: Transpose a pair of indices of an Array:Comments#comment76539</link>
      <itunes:summary>
Just looking for clarification. Your post's title had the names capitalized, but the post did not.

acer</itunes:summary>
      <description>The latest comments added to the Post, Tip: Transpose a pair of indices of an Array</description>
      <guid>76539</guid>
      <pubDate>Fri, 29 Jun 2007 19:13:13 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>Why not permute directly with the Array constructor?</title>
      <link>http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array?ref=Feed:MaplePrimes:Tip: Transpose a pair of indices of an Array:Comments#comment76538</link>
      <itunes:summary>Why not permute directly with the Array constructor?

B := Array(rtable_dims(A),(i,j,k)-&gt;A[i,k,j]);

acer</itunes:summary>
      <description>The latest comments added to the Post, Tip: Transpose a pair of indices of an Array</description>
      <guid>76538</guid>
      <pubDate>Fri, 29 Jun 2007 19:30:04 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>A question of dimensionality</title>
      <link>http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array?ref=Feed:MaplePrimes:Tip: Transpose a pair of indices of an Array:Comments#comment85349</link>
      <itunes:summary>Matrices have two dimensions, i.e., two indices uniquely identifies a given entry.

Arrays, on the hand, may be multi-dimensional, i.e., having more than two dimensions (note that Arrays may also have one or two dimensions, so you can say that an Array is a generalization of a Matrix). An example is the following:

&lt;pre&gt;
A := Array(1..2,1..3,1..4,(i,j,k)-&gt;i*j-k^2);
&lt;/pre&gt;

where examples of entries are

&lt;pre&gt;
A[1,2,3];   # Equals 1*2-3^2
A[2,1,4];   # Equals 2*1-4^2
                               -7
                              -14
&lt;/pre&gt;</itunes:summary>
      <description>The latest comments added to the Post, Tip: Transpose a pair of indices of an Array</description>
      <guid>85349</guid>
      <pubDate>Fri, 29 Jun 2007 19:31:05 Z</pubDate>
      <itunes:author>John Fredsted</itunes:author>
      <author>John Fredsted</author>
    </item>
    <item>
      <title>Interesting, but seemingly problematic</title>
      <link>http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array?ref=Feed:MaplePrimes:Tip: Transpose a pair of indices of an Array:Comments#comment85348</link>
      <itunes:summary>There seems to be a problem with your interesting proposal:

&lt;pre&gt;
A := Array(1..2,1..3,1..4,(i,j,k)-&gt;i*j-k^2);
B := Array(rtable_dims(A),(i,j,k)-&gt;A[i,k,j]);
Error, Array index out of range
&lt;/pre&gt;</itunes:summary>
      <description>The latest comments added to the Post, Tip: Transpose a pair of indices of an Array</description>
      <guid>85348</guid>
      <pubDate>Fri, 29 Jun 2007 19:37:06 Z</pubDate>
      <itunes:author>John Fredsted</itunes:author>
      <author>John Fredsted</author>
    </item>
    <item>
      <title>Oh boy, I'm sleeping</title>
      <link>http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array?ref=Feed:MaplePrimes:Tip: Transpose a pair of indices of an Array:Comments#comment85347</link>
      <itunes:summary>It is no wonder that there is a problem; the dimensionalities of A are incompatible.</itunes:summary>
      <description>The latest comments added to the Post, Tip: Transpose a pair of indices of an Array</description>
      <guid>85347</guid>
      <pubDate>Fri, 29 Jun 2007 19:39:12 Z</pubDate>
      <itunes:author>John Fredsted</itunes:author>
      <author>John Fredsted</author>
    </item>
  </channel>
</rss>