<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, matrix multiplication</title>
    <link>http://www.mapleprimes.com/questions/35550-Matrix-Multiplication</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 18:17:24 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 18:17:24 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, matrix multiplication</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, matrix multiplication</title>
      <link>http://www.mapleprimes.com/questions/35550-Matrix-Multiplication</link>
    </image>
    <item>
      <title>Multiplication</title>
      <link>http://www.mapleprimes.com/questions/35550-Matrix-Multiplication?ref=Feed:MaplePrimes:matrix multiplication:Comments#answer44249</link>
      <itunes:summary>&lt;p&gt;There are several ways to create a matrix, of which the &lt;b&gt;Matrix&lt;/b&gt; command is probably the most useful here.&amp;nbsp; The number of rows and columns (n and q in the case of the result of this procedure) are input parameters of the procedure.&amp;nbsp; You don't need a loop, because you can give the &lt;b&gt;Matrix&lt;/b&gt; command a procedure to tell it how to produce the matrix elements.&amp;nbsp; Thus your answer could be of the form &lt;/p&gt;
&lt;pre&gt;
&amp;gt; MULTIPLYMATRIX:= (A,B,n,m,q) -&amp;gt; Matrix(n,q, (i,j) -&amp;gt; ***) 

&lt;/pre&gt;
&lt;p&gt;where *** is a formula for the (i,j) matrix element of the product &lt;b&gt;A . B&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;A problem I have with this question is that it says &amp;quot;Your procedure should print the result matrix&amp;quot;, which I doubt is meant to be taken literally: the procedure I outlined above will produce the product matrix as its result, which will be printed if you enter&lt;br /&gt;
something like&lt;/p&gt;
&lt;pre&gt;
&amp;gt; MATRIXMULTIPLY(A,B,n,m,q);
&lt;/pre&gt;
&lt;p&gt;(for appropriate A, B, n, m and q).&amp;nbsp; Or does the instructor really want a &lt;b&gt;print&lt;/b&gt; statement in the procedure?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;There are several ways to create a matrix, of which the &lt;b&gt;Matrix&lt;/b&gt; command is probably the most useful here.&amp;nbsp; The number of rows and columns (n and q in the case of the result of this procedure) are input parameters of the procedure.&amp;nbsp; You don't need a loop, because you can give the &lt;b&gt;Matrix&lt;/b&gt; command a procedure to tell it how to produce the matrix elements.&amp;nbsp; Thus your answer could be of the form &lt;/p&gt;
&lt;pre&gt;
&amp;gt; MULTIPLYMATRIX:= (A,B,n,m,q) -&amp;gt; Matrix(n,q, (i,j) -&amp;gt; ***) 

&lt;/pre&gt;
&lt;p&gt;where *** is a formula for the (i,j) matrix element of the product &lt;b&gt;A . B&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;A problem I have with this question is that it says &amp;quot;Your procedure should print the result matrix&amp;quot;, which I doubt is meant to be taken literally: the procedure I outlined above will produce the product matrix as its result, which will be printed if you enter&lt;br /&gt;
something like&lt;/p&gt;
&lt;pre&gt;
&amp;gt; MATRIXMULTIPLY(A,B,n,m,q);
&lt;/pre&gt;
&lt;p&gt;(for appropriate A, B, n, m and q).&amp;nbsp; Or does the instructor really want a &lt;b&gt;print&lt;/b&gt; statement in the procedure?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>44249</guid>
      <pubDate>Wed, 10 Mar 2010 02:53:47 Z</pubDate>
      <itunes:author>Robert Israel</itunes:author>
      <author>Robert Israel</author>
    </item>
  </channel>
</rss>