<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Functions as matrix elements???? I want to see the algebraic expressions behind the matrix elements, but also do calculations</title>
    <link>http://www.mapleprimes.com/questions/37054-Functions-As-Matrix-Elements-I-Want</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Wed, 10 Jun 2026 21:42:05 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 21:42:05 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Functions as matrix elements???? I want to see the algebraic expressions behind the matrix elements, but also do calculations</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Functions as matrix elements???? I want to see the algebraic expressions behind the matrix elements, but also do calculations</title>
      <link>http://www.mapleprimes.com/questions/37054-Functions-As-Matrix-Elements-I-Want</link>
    </image>
    <item>
      <title>eval</title>
      <link>http://www.mapleprimes.com/questions/37054-Functions-As-Matrix-Elements-I-Want?ref=Feed:MaplePrimes:Functions as matrix elements???? I want to see the algebraic expressions behind the matrix elements, but also do calculations:Comments#answer64891</link>
      <itunes:summary>&lt;p&gt;This is called 2-argument eval, or evalat (&amp;quot;eval at&amp;quot;, because it evaluates at some values). Notice that the instantiation can be obtained without having to actually assign to alpha. That can be useful because it leaves the original object as is, while also leaving name alpha unassigned and thus free immediately for continued symbolic use (no need to unassign it).&lt;/p&gt;
&lt;pre&gt;
&amp;gt; eval(Result,alpha=Pi/2);
                                 [0    0    1]
                                 [           ]
                                 [1    0    0]
                                 [           ]
                                 [0    0    1]
&lt;/pre&gt;
&lt;p&gt;I should mention that lowercase matrix and linalg are deprecated in favour of capitalized Matrix and LinearAlgebra.&lt;/p&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;This is called 2-argument eval, or evalat (&amp;quot;eval at&amp;quot;, because it evaluates at some values). Notice that the instantiation can be obtained without having to actually assign to alpha. That can be useful because it leaves the original object as is, while also leaving name alpha unassigned and thus free immediately for continued symbolic use (no need to unassign it).&lt;/p&gt;
&lt;pre&gt;
&amp;gt; eval(Result,alpha=Pi/2);
                                 [0    0    1]
                                 [           ]
                                 [1    0    0]
                                 [           ]
                                 [0    0    1]
&lt;/pre&gt;
&lt;p&gt;I should mention that lowercase matrix and linalg are deprecated in favour of capitalized Matrix and LinearAlgebra.&lt;/p&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>64891</guid>
      <pubDate>Thu, 09 Jul 2009 10:16:08 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>Hi,
thanks a lot for your</title>
      <link>http://www.mapleprimes.com/questions/37054-Functions-As-Matrix-Elements-I-Want?ref=Feed:MaplePrimes:Functions as matrix elements???? I want to see the algebraic expressions behind the matrix elements, but also do calculations:Comments#answer64892</link>
      <itunes:summary>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks a lot for your help....one further stupid question: I have noticed that If I say:&lt;/p&gt;
&lt;p&gt;eval(Result, alpha = Pi/2), it calculates the matrix elements........&lt;/p&gt;
&lt;p&gt;but when I say, for example, &amp;nbsp;eval(Result, alpha=Pi/10), then it shows me cos(pi/10).....I mean, not that I couldnt calculate this myself, but i find it unusal...&lt;/p&gt;
&lt;p&gt;Thanks anyway ...:)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks a lot for your help....one further stupid question: I have noticed that If I say:&lt;/p&gt;
&lt;p&gt;eval(Result, alpha = Pi/2), it calculates the matrix elements........&lt;/p&gt;
&lt;p&gt;but when I say, for example, &amp;nbsp;eval(Result, alpha=Pi/10), then it shows me cos(pi/10).....I mean, not that I couldnt calculate this myself, but i find it unusal...&lt;/p&gt;
&lt;p&gt;Thanks anyway ...:)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>64892</guid>
      <pubDate>Thu, 09 Jul 2009 10:35:44 Z</pubDate>
      <itunes:author>mapleStarter</itunes:author>
      <author>mapleStarter</author>
    </item>
    <item>
      <title>Trig functions of rational multiples of Pi</title>
      <link>http://www.mapleprimes.com/questions/37054-Functions-As-Matrix-Elements-I-Want?ref=Feed:MaplePrimes:Functions as matrix elements???? I want to see the algebraic expressions behind the matrix elements, but also do calculations:Comments#comment64893</link>
      <itunes:summary>&lt;p&gt;First, note that Maple interprets pi as a greek character with no special connotation. For the mathematical constant, use Pi instead.&lt;/p&gt;
&lt;p&gt;As for the simplification of cos(Pi/2) versus cos(Pi/10), some rational multiples of Pi are treated automatically, while others are not because the resulting expression could be rather large. If you explicitly want that, try&lt;/p&gt;
&lt;p&gt;convert(cos(Pi/10),radical);&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;First, note that Maple interprets pi as a greek character with no special connotation. For the mathematical constant, use Pi instead.&lt;/p&gt;
&lt;p&gt;As for the simplification of cos(Pi/2) versus cos(Pi/10), some rational multiples of Pi are treated automatically, while others are not because the resulting expression could be rather large. If you explicitly want that, try&lt;/p&gt;
&lt;p&gt;convert(cos(Pi/10),radical);&lt;/p&gt;</description>
      <guid>64893</guid>
      <pubDate>Thu, 09 Jul 2009 12:58:24 Z</pubDate>
      <itunes:author>Thomas Richard</itunes:author>
      <author>Thomas Richard</author>
    </item>
    <item>
      <title>convert, evalf</title>
      <link>http://www.mapleprimes.com/questions/37054-Functions-As-Matrix-Elements-I-Want?ref=Feed:MaplePrimes:Functions as matrix elements???? I want to see the algebraic expressions behind the matrix elements, but also do calculations:Comments#comment64894</link>
      <itunes:summary>&lt;pre&gt;
&amp;gt; R := Matrix([[cos(b/10),sin(b/10)]]);
                              [     b            b   ]
                         R := [cos(----)    sin(----)]
                              [     10           10  ]
 
&amp;gt; eval(R,b=evalf(Pi));
                        [0.9510565163    0.3090169944]
 
&amp;gt; evalf(eval(R,b=Pi));
                        [0.9510565163    0.3090169944]
 
&amp;gt; map(convert,eval(R,b=Pi),radical);
                     [ 1/2       1/2 1/2             1/2]
                     [2    (5 + 5   )               5   ]
                     [------------------    - 1/4 + ----]
                     [        4                      4  ]
&lt;/pre&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;pre&gt;
&amp;gt; R := Matrix([[cos(b/10),sin(b/10)]]);
                              [     b            b   ]
                         R := [cos(----)    sin(----)]
                              [     10           10  ]
 
&amp;gt; eval(R,b=evalf(Pi));
                        [0.9510565163    0.3090169944]
 
&amp;gt; evalf(eval(R,b=Pi));
                        [0.9510565163    0.3090169944]
 
&amp;gt; map(convert,eval(R,b=Pi),radical);
                     [ 1/2       1/2 1/2             1/2]
                     [2    (5 + 5   )               5   ]
                     [------------------    - 1/4 + ----]
                     [        4                      4  ]
&lt;/pre&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>64894</guid>
      <pubDate>Thu, 09 Jul 2009 15:54:14 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
  </channel>
</rss>