<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - Questions and Posts tagged with efficient</title>
    <link>http://www.mapleprimes.com/tags/efficient</link>
    <language>en-us</language>
    <copyright>2013 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 21 May 2013 07:40:38 GMT</lastBuildDate>
    <pubDate>Tue, 21 May 2013 07:40:38 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The most recent questions and posts on MaplePrimes tagged with efficient</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - Questions and Posts tagged with efficient</title>
      <link>http://www.mapleprimes.com/tags/efficient</link>
    </image>
    <item>
      <title>More efficient way? (quicker, less memory used, good practise of programming?)</title>
      <link>http://www.mapleprimes.com/questions/146583-More-Efficient-Way-quicker-Less-Memory?ref=Feed:MaplePrimes:Tagged With efficient</link>
      <itunes:summary>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;##################################################################&lt;/p&gt;
&lt;p&gt;restart:&lt;br&gt;&lt;br&gt;K:=50;C:=20;&lt;br&gt;&lt;br&gt;st:=time():&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for j from 2 to K do&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;for c to C do&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;solve({log(cat(p,j,'C',c)/(1-cat(p,j,'C',c)))=mu+cat(tau,j)+cat(eta,c)+cat(mix,j,c)},cat(p,j,'C',c));&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;assign(%);&lt;br&gt;&amp;nbsp;&amp;nbsp;...</itunes:summary>
      <description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;##################################################################&lt;/p&gt;
&lt;p&gt;restart:&lt;br&gt;&lt;br&gt;K:=50;C:=20;&lt;br&gt;&lt;br&gt;st:=time():&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for j from 2 to K do&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;for c to C do&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;solve({log(cat(p,j,'C',c)/(1-cat(p,j,'C',c)))=mu+cat(tau,j)+cat(eta,c)+cat(mix,j,c)},cat(p,j,'C',c));&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;assign(%);&lt;br&gt;&amp;nbsp;&amp;nbsp;...</description>
      <guid>146583</guid>
      <pubDate>Thu, 02 May 2013 02:56:42 Z</pubDate>
      <itunes:author>casperyc</itunes:author>
      <author>casperyc</author>
    </item>
    <item>
      <title>optimization: disappointments again</title>
      <link>http://www.mapleprimes.com/questions/127880-Optimization-Disappointments-Again?ref=Feed:MaplePrimes:Tagged With efficient</link>
      <itunes:summary>&lt;p&gt;As usual happens in symbolic calculations - small change of input parameters leads to drammatical change in consuptions. I had talk about many other partial issues in&amp;nbsp; this forum. Many other issues i just tried myself without any success (for example try&amp;nbsp;convert(exp(x)+x, FormalPowerSeries)) and now i must take decision: wheather or not to continue work with maple at all. It's totally clear for me that others (like Wolfram mathematica) not much better. Only one other...</itunes:summary>
      <description>&lt;p&gt;As usual happens in symbolic calculations - small change of input parameters leads to drammatical change in consuptions. I had talk about many other partial issues in&amp;nbsp; this forum. Many other issues i just tried myself without any success (for example try&amp;nbsp;convert(exp(x)+x, FormalPowerSeries)) and now i must take decision: wheather or not to continue work with maple at all. It's totally clear for me that others (like Wolfram mathematica) not much better. Only one other...</description>
      <guid>127880</guid>
      <pubDate>Sat, 19 Nov 2011 17:31:22 Z</pubDate>
      <itunes:author>icegood</itunes:author>
      <author>icegood</author>
    </item>
    <item>
      <title>simplification of many exponential terms</title>
      <link>http://www.mapleprimes.com/questions/127545-Simplification-Of-Many-Exponential-Terms?ref=Feed:MaplePrimes:Tagged With efficient</link>
      <itunes:summary>&lt;p&gt;I have a solution containing many exponentail terms, some of which are in the denominators of rational terms. I would like to be able to have the solution given to me in a manner where there are no exponentials in denominators but only in the numerators. The simplify command in maple does it, however for the shear number of terms (just shy of 400,000 terms and maple saying it's million plus) i am looking at, that particular command is just taking too long (15 hours!). Is there...</itunes:summary>
      <description>&lt;p&gt;I have a solution containing many exponentail terms, some of which are in the denominators of rational terms. I would like to be able to have the solution given to me in a manner where there are no exponentials in denominators but only in the numerators. The simplify command in maple does it, however for the shear number of terms (just shy of 400,000 terms and maple saying it's million plus) i am looking at, that particular command is just taking too long (15 hours!). Is there...</description>
      <guid>127545</guid>
      <pubDate>Wed, 09 Nov 2011 00:58:13 Z</pubDate>
      <itunes:author>mathgeek</itunes:author>
      <author>mathgeek</author>
    </item>
    <item>
      <title>Boolean evaluation</title>
      <link>http://www.mapleprimes.com/questions/126283-Boolean-Evaluation?ref=Feed:MaplePrimes:Tagged With efficient</link>
      <itunes:summary>&lt;p&gt;In Maple boolean evaluation returns the values 'true' or 'false'.&lt;/p&gt;
&lt;p&gt;Is there any canonical way of getting evalb to produce values in {0,1}? This is of some use when testing conjectures on&amp;nbsp; hudge lists of items...&lt;/p&gt;
&lt;p&gt;Of course: you can always define a script like&lt;/p&gt;
&lt;p&gt;###########################&lt;br&gt;evalbb:=proc(PP)&lt;br&gt;if evalb(PP)='true' then eps:=1:&lt;br&gt;else eps:=0: &lt;br&gt;fi:&lt;br&gt;eps;&lt;br&gt;end:&lt;br&gt;###########################&lt;/p&gt;
&lt;p&gt;but I think there should be...</itunes:summary>
      <description>&lt;p&gt;In Maple boolean evaluation returns the values 'true' or 'false'.&lt;/p&gt;
&lt;p&gt;Is there any canonical way of getting evalb to produce values in {0,1}? This is of some use when testing conjectures on&amp;nbsp; hudge lists of items...&lt;/p&gt;
&lt;p&gt;Of course: you can always define a script like&lt;/p&gt;
&lt;p&gt;###########################&lt;br&gt;evalbb:=proc(PP)&lt;br&gt;if evalb(PP)='true' then eps:=1:&lt;br&gt;else eps:=0: &lt;br&gt;fi:&lt;br&gt;eps;&lt;br&gt;end:&lt;br&gt;###########################&lt;/p&gt;
&lt;p&gt;but I think there should be...</description>
      <guid>126283</guid>
      <pubDate>Wed, 05 Oct 2011 15:14:44 Z</pubDate>
      <itunes:author>Carlo Carminati</itunes:author>
      <author>Carlo Carminati</author>
    </item>
    <item>
      <title>Minimal polynomials in GF</title>
      <link>http://www.mapleprimes.com/posts/121576-Minimal-Polynomials-In-GF?ref=Feed:MaplePrimes:Tagged With efficient</link>
      <itunes:summary>&lt;p&gt;Answering to that question, I posted several procedures finding minimal polynomials for the elements of finite fields. The best one was the following,&lt;/p&gt;
&lt;pre&gt;alias(a=RootOf(T^100+T^97+T^96+T^93+T^91+T^89+T^87+T^86+T^82+T^81+T^71+T^70+T^67+T^61+
T^60+T^57+T^54+T^53+T^52+T^49+T^48+T^45+T^44+T^42+T^39+T^36+T^33+T^32+T^31+T^29+T^28+T^27+
T^26+T^24+T^23+T^22+T^18+T^17+T^16+T^14+T^13+T^12+T^10+T^8+T^7+T^6+T^3+T+1)):

F:=GF(2,100,op(a)):
z:=F:-input(2):

MinPolyGF:=proc(x,y:=_X)
local A, i;
A:=Matrix(100,...&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;Answering to that question, I posted several procedures finding minimal polynomials for the elements of finite fields. The best one was the following,&lt;/p&gt;
&lt;pre&gt;alias(a=RootOf(T^100+T^97+T^96+T^93+T^91+T^89+T^87+T^86+T^82+T^81+T^71+T^70+T^67+T^61+
T^60+T^57+T^54+T^53+T^52+T^49+T^48+T^45+T^44+T^42+T^39+T^36+T^33+T^32+T^31+T^29+T^28+T^27+
T^26+T^24+T^23+T^22+T^18+T^17+T^16+T^14+T^13+T^12+T^10+T^8+T^7+T^6+T^3+T+1)):

F:=GF(2,100,op(a)):
z:=F:-input(2):

MinPolyGF:=proc(x,y:=_X)
local A, i;
A:=Matrix(100,...&lt;/pre&gt;</description>
      <guid>121576</guid>
      <pubDate>Sun, 12 Jun 2011 15:42:17 Z</pubDate>
      <itunes:author>Alec Mihailovs</itunes:author>
      <author>Alec Mihailovs</author>
    </item>
    <item>
      <title>A Long-Short 7 Asset Efficient Frontier</title>
      <link>http://www.mapleprimes.com/posts/100338-A-LongShort-7-Asset-Efficient-Frontier?ref=Feed:MaplePrimes:Tagged With efficient</link>
      <itunes:summary>&lt;p&gt;restart:&lt;br&gt;with(LinearAlgebra):&lt;br&gt;with(ArrayTools):&lt;br&gt;with(Statistics):&lt;br&gt;randomize(): &lt;br&gt;with(plots): &lt;br&gt;with(combinat): &lt;br&gt;&lt;br&gt;n := 100:&lt;br&gt;nstock := 7: &lt;br&gt;corr := .8: &lt;br&gt;&lt;br&gt;R := Matrix(nstock, nstock, proc (i, j) options operator, arrow; `if`(i = j, 1, corr) end proc):&lt;br&gt;CD := Matrix(LUDecomposition(evalf(R), 'method' = 'Cholesky'), datatype = float[8]):&lt;br&gt;&lt;br&gt;ev := [seq((1/5)*(rand(-3 .. 4))(), i = 1 .. nstock)]:&lt;br&gt;st := [seq((rand(1 .. 2))(), i = 1 .. nstock)]: </itunes:summary>
      <description>&lt;p&gt;restart:&lt;br&gt;with(LinearAlgebra):&lt;br&gt;with(ArrayTools):&lt;br&gt;with(Statistics):&lt;br&gt;randomize(): &lt;br&gt;with(plots): &lt;br&gt;with(combinat): &lt;br&gt;&lt;br&gt;n := 100:&lt;br&gt;nstock := 7: &lt;br&gt;corr := .8: &lt;br&gt;&lt;br&gt;R := Matrix(nstock, nstock, proc (i, j) options operator, arrow; `if`(i = j, 1, corr) end proc):&lt;br&gt;CD := Matrix(LUDecomposition(evalf(R), 'method' = 'Cholesky'), datatype = float[8]):&lt;br&gt;&lt;br&gt;ev := [seq((1/5)*(rand(-3 .. 4))(), i = 1 .. nstock)]:&lt;br&gt;st := [seq((rand(1 .. 2))(), i = 1 .. nstock)]: </description>
      <guid>100338</guid>
      <pubDate>Mon, 20 Dec 2010 11:48:17 Z</pubDate>
      <itunes:author>alex_01</itunes:author>
      <author>alex_01</author>
    </item>
  </channel>
</rss>