<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, 3D Matrix in Maple</title>
    <link>http://www.mapleprimes.com/questions/35766-3D-Matrix-In-Maple</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 04:37:12 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 04:37:12 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, 3D Matrix in Maple</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, 3D Matrix in Maple</title>
      <link>http://www.mapleprimes.com/questions/35766-3D-Matrix-In-Maple</link>
    </image>
    <item>
      <title>Array</title>
      <link>http://www.mapleprimes.com/questions/35766-3D-Matrix-In-Maple?ref=Feed:MaplePrimes:3D Matrix in Maple:Comments#answer45046</link>
      <itunes:summary>&lt;p&gt;You can store a sequence of 2D Matrices in the entries of a 1D Vector or Array, as layers.&lt;/p&gt;
&lt;p&gt;Or you can store data in a 3D Array. See the help page for Array.&lt;/p&gt;
&lt;p&gt;Or you can store a collection of 1D Vectors or Arrays in the entries of a 2D Matrix&lt;/p&gt;
&lt;p&gt;Each of those structures will have different (but similar) access syntax using [] to get at the entries for access or assignment. The middle choice would require just one pair of brackets, while the others would need two each.&lt;/p&gt;
&lt;p&gt;Only the 3D Array choice, with a hardware datatype, would have thedata stored in a single contiguous section of memory (for most efficient access/update or Compiler use).&lt;/p&gt;
&lt;p&gt;A 3 dimensional Array is called... an Array. It's just a question of terminology. A 2D Array (only) is sometimes called a Matrix (a mathematical rather than data structure term, to represent a mapping from one vector space to another).&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;You can store a sequence of 2D Matrices in the entries of a 1D Vector or Array, as layers.&lt;/p&gt;
&lt;p&gt;Or you can store data in a 3D Array. See the help page for Array.&lt;/p&gt;
&lt;p&gt;Or you can store a collection of 1D Vectors or Arrays in the entries of a 2D Matrix&lt;/p&gt;
&lt;p&gt;Each of those structures will have different (but similar) access syntax using [] to get at the entries for access or assignment. The middle choice would require just one pair of brackets, while the others would need two each.&lt;/p&gt;
&lt;p&gt;Only the 3D Array choice, with a hardware datatype, would have thedata stored in a single contiguous section of memory (for most efficient access/update or Compiler use).&lt;/p&gt;
&lt;p&gt;A 3 dimensional Array is called... an Array. It's just a question of terminology. A 2D Array (only) is sometimes called a Matrix (a mathematical rather than data structure term, to represent a mapping from one vector space to another).&lt;/p&gt;</description>
      <guid>45046</guid>
      <pubDate>Tue, 09 Feb 2010 18:26:15 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
    <item>
      <title>All right thanx :-)  I just</title>
      <link>http://www.mapleprimes.com/questions/35766-3D-Matrix-In-Maple?ref=Feed:MaplePrimes:3D Matrix in Maple:Comments#answer45047</link>
      <itunes:summary>&lt;p&gt;All right thanx :-)&amp;nbsp; I just find these 3D matricies to be fascinating&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://images.google.co.uk/images?q=3d+matrix&amp;amp;oe=utf-8&amp;amp;rls=org.mozilla:en-GB:official&amp;amp;client=firefox-a&amp;amp;um=1&amp;amp;ie=UTF-8&amp;amp;ei=ZmJxS5uqDtjPjAeq7NG_Cw&amp;amp;sa=X&amp;amp;oi=image_result_group&amp;amp;ct=title&amp;amp;resnum=4&amp;amp;ved=0CBkQsAQwAw"&gt;images.google.co.uk/images&lt;/a&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;All right thanx :-)&amp;nbsp; I just find these 3D matricies to be fascinating&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://images.google.co.uk/images?q=3d+matrix&amp;amp;oe=utf-8&amp;amp;rls=org.mozilla:en-GB:official&amp;amp;client=firefox-a&amp;amp;um=1&amp;amp;ie=UTF-8&amp;amp;ei=ZmJxS5uqDtjPjAeq7NG_Cw&amp;amp;sa=X&amp;amp;oi=image_result_group&amp;amp;ct=title&amp;amp;resnum=4&amp;amp;ved=0CBkQsAQwAw"&gt;images.google.co.uk/images&lt;/a&gt;&lt;/p&gt;</description>
      <guid>45047</guid>
      <pubDate>Tue, 09 Feb 2010 18:28:51 Z</pubDate>
      <itunes:author>alex_01</itunes:author>
      <author>alex_01</author>
    </item>
    <item>
      <title>Is it possible to view a 3D</title>
      <link>http://www.mapleprimes.com/questions/35766-3D-Matrix-In-Maple?ref=Feed:MaplePrimes:3D Matrix in Maple:Comments#answer45048</link>
      <itunes:summary>&lt;p&gt;Is it possible to view a 3D Matrix (Array) in Maple as seen below ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://www.mapleprimes.com/viewfile/4120"&gt;&lt;img height="373" width="500" alt="" src="http://www.mapleprimes.com/scripts/image.php?image=http://www.mapleprimes.com/files/8342_3dmatrixcorridorsscr.jpg&amp;amp;width=300&amp;amp;height=300" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Is it possible to view a 3D Matrix (Array) in Maple as seen below ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://www.mapleprimes.com/viewfile/4120"&gt;&lt;img height="373" width="500" alt="" src="http://www.mapleprimes.com/scripts/image.php?image=http://www.mapleprimes.com/files/8342_3dmatrixcorridorsscr.jpg&amp;amp;width=300&amp;amp;height=300" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;</description>
      <guid>45048</guid>
      <pubDate>Tue, 09 Feb 2010 19:14:45 Z</pubDate>
      <itunes:author>alex_01</itunes:author>
      <author>alex_01</author>
    </item>
    <item>
      <title>Good option for the matrix browse image tab</title>
      <link>http://www.mapleprimes.com/questions/35766-3D-Matrix-In-Maple?ref=Feed:MaplePrimes:3D Matrix in Maple:Comments#answer45052</link>
      <itunes:summary>&lt;p&gt;That would be a cool implementation for browsing a matrix under the&amp;nbsp;image tab.&amp;nbsp; ie Visualizing data structures in a matrix array.&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;That would be a cool implementation for browsing a matrix under the&amp;nbsp;image tab.&amp;nbsp; ie Visualizing data structures in a matrix array.&amp;nbsp;&lt;/p&gt;</description>
      <guid>45052</guid>
      <pubDate>Wed, 10 Feb 2010 00:19:32 Z</pubDate>
      <itunes:author>Christopher2222</itunes:author>
      <author>Christopher2222</author>
    </item>
    <item>
      <title>Viewing a 3d Matrix </title>
      <link>http://www.mapleprimes.com/questions/35766-3D-Matrix-In-Maple?ref=Feed:MaplePrimes:3D Matrix in Maple:Comments#answer45055</link>
      <itunes:summary>&lt;p&gt;I've created a procedure that puts a random set of values into a cubic matrix (or array as they seem to be&amp;nbsp;referred to&amp;nbsp;when they exceed 2 dimensions)&amp;nbsp;and displays them in a plot.&lt;/p&gt;
&lt;p&gt;restart;&lt;br /&gt;
gc();&lt;/p&gt;
&lt;p&gt;View3dMatrix:=proc(n,ri,rf)&amp;nbsp;&amp;nbsp;&amp;nbsp; #n&amp;nbsp;is the number of elements, ri&amp;nbsp;and rf are initial and final&amp;nbsp;range of random numbers&lt;br /&gt;
&amp;nbsp; local a,i,k,e,g,h,m;&lt;br /&gt;
&amp;nbsp; a:=trunc(sqrt(n)+1):&lt;br /&gt;
&amp;nbsp; for i from 1 to a do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; b||i:=[seq(rand(ri..rf)(i),i=1..n)]:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; c||i:=Matrix(a,a,b||i):&lt;br /&gt;
&amp;nbsp; end do:&lt;br /&gt;
&amp;nbsp; for k from 1 to a do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; d||k:=seq(seq([i,a+1-j,k,c||k[j,i]],i=1..a),j=1..a)&lt;br /&gt;
&amp;nbsp; end do:&lt;br /&gt;
&amp;nbsp; e:=plots[textplot3d]([seq(d||i,i=1..a)],axes=boxed,tickmarks=[0,0,0],color=green, font=[TIMES, ROMAN, 8]):&lt;br /&gt;
&amp;nbsp; g:=plot3d([[x,y,0.95],[x,y,-a*0.10]],x=1..a,y=1..a,color=brown,style=surface,lightmodel=light2):&lt;br /&gt;
&amp;nbsp; h:=plot3d([[x,1,z],[x,a,z]],x=1..a,z=0.95..-a*0.10,color=brown,style=surface):&lt;br /&gt;
&amp;nbsp; m:=plot3d([[1,y,z],[a,y,z]],y=q..a,z=0.95..-a*0.10,color=brown,style=surface):&lt;br /&gt;
&amp;nbsp; plots[display](e,g,h,m)&lt;br /&gt;
end proc:&lt;/p&gt;
&lt;p&gt;View3dMatrix(50,1,100)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://www.mapleprimes.com/viewfile/4222"&gt;&lt;img alt="" src="http://www.mapleprimes.com/scripts/image.php?image=http://www.mapleprimes.com/files/8990_3dmatrix.jpg&amp;amp;width=300&amp;amp;height=300" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I've created a procedure that puts a random set of values into a cubic matrix (or array as they seem to be&amp;nbsp;referred to&amp;nbsp;when they exceed 2 dimensions)&amp;nbsp;and displays them in a plot.&lt;/p&gt;
&lt;p&gt;restart;&lt;br /&gt;
gc();&lt;/p&gt;
&lt;p&gt;View3dMatrix:=proc(n,ri,rf)&amp;nbsp;&amp;nbsp;&amp;nbsp; #n&amp;nbsp;is the number of elements, ri&amp;nbsp;and rf are initial and final&amp;nbsp;range of random numbers&lt;br /&gt;
&amp;nbsp; local a,i,k,e,g,h,m;&lt;br /&gt;
&amp;nbsp; a:=trunc(sqrt(n)+1):&lt;br /&gt;
&amp;nbsp; for i from 1 to a do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; b||i:=[seq(rand(ri..rf)(i),i=1..n)]:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; c||i:=Matrix(a,a,b||i):&lt;br /&gt;
&amp;nbsp; end do:&lt;br /&gt;
&amp;nbsp; for k from 1 to a do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; d||k:=seq(seq([i,a+1-j,k,c||k[j,i]],i=1..a),j=1..a)&lt;br /&gt;
&amp;nbsp; end do:&lt;br /&gt;
&amp;nbsp; e:=plots[textplot3d]([seq(d||i,i=1..a)],axes=boxed,tickmarks=[0,0,0],color=green, font=[TIMES, ROMAN, 8]):&lt;br /&gt;
&amp;nbsp; g:=plot3d([[x,y,0.95],[x,y,-a*0.10]],x=1..a,y=1..a,color=brown,style=surface,lightmodel=light2):&lt;br /&gt;
&amp;nbsp; h:=plot3d([[x,1,z],[x,a,z]],x=1..a,z=0.95..-a*0.10,color=brown,style=surface):&lt;br /&gt;
&amp;nbsp; m:=plot3d([[1,y,z],[a,y,z]],y=q..a,z=0.95..-a*0.10,color=brown,style=surface):&lt;br /&gt;
&amp;nbsp; plots[display](e,g,h,m)&lt;br /&gt;
end proc:&lt;/p&gt;
&lt;p&gt;View3dMatrix(50,1,100)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://www.mapleprimes.com/viewfile/4222"&gt;&lt;img alt="" src="http://www.mapleprimes.com/scripts/image.php?image=http://www.mapleprimes.com/files/8990_3dmatrix.jpg&amp;amp;width=300&amp;amp;height=300" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>45055</guid>
      <pubDate>Thu, 18 Mar 2010 14:19:56 Z</pubDate>
      <itunes:author>Christopher2222</itunes:author>
      <author>Christopher2222</author>
    </item>
    <item>
      <title>pretty neat :-)  I wonder</title>
      <link>http://www.mapleprimes.com/questions/35766-3D-Matrix-In-Maple?ref=Feed:MaplePrimes:3D Matrix in Maple:Comments#answer45057</link>
      <itunes:summary>&lt;p&gt;pretty neat :-)&amp;nbsp; I wonder if we can use the new Maple fly though feature to look at the data in closeup ?!&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;pretty neat :-)&amp;nbsp; I wonder if we can use the new Maple fly though feature to look at the data in closeup ?!&lt;/p&gt;</description>
      <guid>45057</guid>
      <pubDate>Thu, 18 Mar 2010 23:38:44 Z</pubDate>
      <itunes:author>alex_01</itunes:author>
      <author>alex_01</author>
    </item>
  </channel>
</rss>