<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - Questions and Posts tagged with list</title>
    <link>http://www.mapleprimes.com/tags/list</link>
    <language>en-us</language>
    <copyright>2012 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Mon, 21 May 2012 19:07:40 GMT</lastBuildDate>
    <pubDate>Mon, 21 May 2012 19:07:40 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The most recent questions and posts on MaplePrimes tagged with list</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - Questions and Posts tagged with list</title>
      <link>http://www.mapleprimes.com/tags/list</link>
    </image>
    <item>
      <title>plotsetup and if statements</title>
      <link>http://www.mapleprimes.com/questions/134346-Plotsetup-And-If-Statements?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I have Problem with the Maple command plotsetup, it does not seem to work within an if-statement.&lt;/p&gt;
&lt;p&gt;What i would like to do is this:&lt;/p&gt;
&lt;p&gt;1. Make a matrix with 0 or 1 as enteries&lt;/p&gt;
&lt;p&gt;2. convert this matrix into a list where the 1's are points. (So the Matrix entery Matrix[1][1]:=1 would give the listvector:=[1,1]&lt;/p&gt;
&lt;p&gt;3. plot these vectors as graphs and store them with the help of plotsetup&lt;/p&gt;
&lt;p&gt;4. changing the matrix and rinse and repet 2,3,4 until satisfied</itunes:summary>
      <description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I have Problem with the Maple command plotsetup, it does not seem to work within an if-statement.&lt;/p&gt;
&lt;p&gt;What i would like to do is this:&lt;/p&gt;
&lt;p&gt;1. Make a matrix with 0 or 1 as enteries&lt;/p&gt;
&lt;p&gt;2. convert this matrix into a list where the 1's are points. (So the Matrix entery Matrix[1][1]:=1 would give the listvector:=[1,1]&lt;/p&gt;
&lt;p&gt;3. plot these vectors as graphs and store them with the help of plotsetup&lt;/p&gt;
&lt;p&gt;4. changing the matrix and rinse and repet 2,3,4 until satisfied</description>
      <guid>134346</guid>
      <pubDate>Fri, 18 May 2012 13:48:08 Z</pubDate>
      <itunes:author>ce5</itunes:author>
      <author>ce5</author>
    </item>
    <item>
      <title>Testing for a complex number</title>
      <link>http://www.mapleprimes.com/questions/133831-Testing-For-A-Complex-Number?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;I need to test a list of numbers to find if any of them are complex. if a complex is found then remove that complete row from the&amp;nbsp;list.&amp;nbsp;the potential complex numbers in my list are a, b and c. b is complex i.e has a non zero imaginery part&amp;nbsp;in row 1 so only row&amp;nbsp;1 should get deleted. the a b and c were originally generated from the arcsin function. Would appreciate help on this. I know it should be simple enough to do. Thanks in advance.&lt;br&gt; &lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;I need to test a list of numbers to find if any of them are complex. if a complex is found then remove that complete row from the&amp;nbsp;list.&amp;nbsp;the potential complex numbers in my list are a, b and c. b is complex i.e has a non zero imaginery part&amp;nbsp;in row 1 so only row&amp;nbsp;1 should get deleted. the a b and c were originally generated from the arcsin function. Would appreciate help on this. I know it should be simple enough to do. Thanks in advance.&lt;br&gt; &lt;/p&gt;
</description>
      <guid>133831</guid>
      <pubDate>Sun, 06 May 2012 22:05:44 Z</pubDate>
      <itunes:author>Ronan</itunes:author>
      <author>Ronan</author>
    </item>
    <item>
      <title>Vector of lists: how to extract list elements?</title>
      <link>http://www.mapleprimes.com/questions/133821-Vector-Of-Lists-How-To-Extract-List-Elements?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;I have a column vector of lists. FWIW, it was generated by numerically solving an ODE and then map-ping the solution over a vector with values for the independent variable, like "yt:=map(solnn,xv)" where xv is a column vector with floats and solnn is the result of a dsolve(...,numeric). Each element of the solution vector yt has the form [t=..., y(t)=..., d/dt(y(t))=...] and has the type List.&lt;/p&gt;
&lt;p&gt;I want to extract the solutions for y(t) (i.e. the numbers only) into a new...</itunes:summary>
      <description>&lt;p&gt;I have a column vector of lists. FWIW, it was generated by numerically solving an ODE and then map-ping the solution over a vector with values for the independent variable, like "yt:=map(solnn,xv)" where xv is a column vector with floats and solnn is the result of a dsolve(...,numeric). Each element of the solution vector yt has the form [t=..., y(t)=..., d/dt(y(t))=...] and has the type List.&lt;/p&gt;
&lt;p&gt;I want to extract the solutions for y(t) (i.e. the numbers only) into a new...</description>
      <guid>133821</guid>
      <pubDate>Sun, 06 May 2012 01:07:40 Z</pubDate>
      <itunes:author>Mac Dude</itunes:author>
      <author>Mac Dude</author>
    </item>
    <item>
      <title>How can I count the repeating number of some certain expression in a list?</title>
      <link>http://www.mapleprimes.com/questions/133295-How-Can-I-Count-The-Repeating-Number?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;For example, in the list [1,1,1,1,2,4,6,1,9], how many 1s are there?&lt;/p&gt;
&lt;p&gt;Is there a procedure in Maple? Or how can I manage to do it?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;For example, in the list [1,1,1,1,2,4,6,1,9], how many 1s are there?&lt;/p&gt;
&lt;p&gt;Is there a procedure in Maple? Or how can I manage to do it?&lt;/p&gt;</description>
      <guid>133295</guid>
      <pubDate>Mon, 23 Apr 2012 11:20:20 Z</pubDate>
      <itunes:author>rhenskyyy</itunes:author>
      <author>rhenskyyy</author>
    </item>
    <item>
      <title>A PALINDROME LIST</title>
      <link>http://www.mapleprimes.com/questions/132833-A-PALINDROME-LIST?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;I need to make a procdeure which checks whether a list L is a palindrome or not. Any help would be appreciated.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I need to make a procdeure which checks whether a list L is a palindrome or not. Any help would be appreciated.&lt;/p&gt;</description>
      <guid>132833</guid>
      <pubDate>Tue, 10 Apr 2012 05:19:47 Z</pubDate>
      <itunes:author>asghar</itunes:author>
      <author>asghar</author>
    </item>
    <item>
      <title>Mystery using lists in solve</title>
      <link>http://www.mapleprimes.com/questions/132752-Mystery-Using-Lists-In-Solve?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;Up until now, I have been using lists instead of sets in solve() in order to ensure the first equation is solved for the first variable, the second for the second, etc.&amp;nbsp; However, I have run into a case for which using an equation list and a variable list does not work, but the equation list alone is fine, and sets of both are fine, etc.&amp;nbsp; I would be grateful if somebody can explain why the first statement below does not produce a solution.&lt;/p&gt;
&lt;p&gt;&amp;gt; soln := solve([foc1 = 0, foc2 = 0, foc3 = 0...</itunes:summary>
      <description>&lt;p&gt;Up until now, I have been using lists instead of sets in solve() in order to ensure the first equation is solved for the first variable, the second for the second, etc.&amp;nbsp; However, I have run into a case for which using an equation list and a variable list does not work, but the equation list alone is fine, and sets of both are fine, etc.&amp;nbsp; I would be grateful if somebody can explain why the first statement below does not produce a solution.&lt;/p&gt;
&lt;p&gt;&amp;gt; soln := solve([foc1 = 0, foc2 = 0, foc3 = 0...</description>
      <guid>132752</guid>
      <pubDate>Sat, 07 Apr 2012 23:27:47 Z</pubDate>
      <itunes:author>Alan Mehlenbacher</itunes:author>
      <author>Alan Mehlenbacher</author>
    </item>
    <item>
      <title>Index of min/max value of vector/list/...</title>
      <link>http://www.mapleprimes.com/questions/132574-Index-Of-Minmax-Value-Of-Vectorlist?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;I need this quite often, but never found a nice way of getting the index of minimal or maximal value of a Vector (or a list or whatever). Is there an easier way than the following?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;N := 15:&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;L := LinearAlgebra[RandomVector](N):&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;m := min(L):&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;for i to N do if L[i] = m then print(i); break end if end do;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I need this quite often, but never found a nice way of getting the index of minimal or maximal value of a Vector (or a list or whatever). Is there an easier way than the following?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;N := 15:&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;L := LinearAlgebra[RandomVector](N):&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;m := min(L):&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;for i to N do if L[i] = m then print(i); break end if end do;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>132574</guid>
      <pubDate>Tue, 03 Apr 2012 21:05:17 Z</pubDate>
      <itunes:author>Jarekkk</itunes:author>
      <author>Jarekkk</author>
    </item>
    <item>
      <title>Function from numbers</title>
      <link>http://www.mapleprimes.com/questions/130437-Function-From-Numbers?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I am trying to build a function of dsolve/numeric solution which would not include procedures for defining the value of it.&lt;/p&gt;
&lt;p&gt;First, I need to extract solution as a 2-d array, which will contain all evaluated points of solution.&lt;/p&gt;
&lt;p&gt;Next, I want to define a function from this set of points (like interpolation).&lt;/p&gt;
&lt;p&gt;Say, I have an array or list of numbers (2-d points).&lt;/p&gt;
&lt;p&gt;Now comes the main question: is there a way to interpolate some...</itunes:summary>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I am trying to build a function of dsolve/numeric solution which would not include procedures for defining the value of it.&lt;/p&gt;
&lt;p&gt;First, I need to extract solution as a 2-d array, which will contain all evaluated points of solution.&lt;/p&gt;
&lt;p&gt;Next, I want to define a function from this set of points (like interpolation).&lt;/p&gt;
&lt;p&gt;Say, I have an array or list of numbers (2-d points).&lt;/p&gt;
&lt;p&gt;Now comes the main question: is there a way to interpolate some...</description>
      <guid>130437</guid>
      <pubDate>Tue, 07 Feb 2012 17:00:00 Z</pubDate>
      <itunes:author>ABond</itunes:author>
      <author>ABond</author>
    </item>
    <item>
      <title>Operating on a list of values with units</title>
      <link>http://www.mapleprimes.com/questions/130360-Operating-On-A-List-Of-Values-With-Units?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;Dear Maple users&lt;/p&gt;
&lt;p&gt;The formula &lt;em&gt;f&lt;/em&gt; = &lt;em&gt;c&lt;/em&gt;/&amp;lambda; is expressing the frequency in terms of the velocity of light&amp;nbsp; &lt;em&gt;c&lt;/em&gt; and the wavelength &amp;lambda;. Lets say given not just one wavelength, but a whole list af wavelengths.&amp;nbsp;The values have units attached. I wonder if there is an elegant way to&amp;nbsp;have Maple calculate the all the frequencies, eventually delivering them in a new list?&lt;/p&gt;
&lt;p&gt;I want the&amp;nbsp;units of the output reduced to SI-units,...</itunes:summary>
      <description>&lt;p&gt;Dear Maple users&lt;/p&gt;
&lt;p&gt;The formula &lt;em&gt;f&lt;/em&gt; = &lt;em&gt;c&lt;/em&gt;/&amp;lambda; is expressing the frequency in terms of the velocity of light&amp;nbsp; &lt;em&gt;c&lt;/em&gt; and the wavelength &amp;lambda;. Lets say given not just one wavelength, but a whole list af wavelengths.&amp;nbsp;The values have units attached. I wonder if there is an elegant way to&amp;nbsp;have Maple calculate the all the frequencies, eventually delivering them in a new list?&lt;/p&gt;
&lt;p&gt;I want the&amp;nbsp;units of the output reduced to SI-units,...</description>
      <guid>130360</guid>
      <pubDate>Mon, 06 Feb 2012 01:38:07 Z</pubDate>
      <itunes:author>erik10</itunes:author>
      <author>erik10</author>
    </item>
    <item>
      <title>How to find the minimum plus-minus ?</title>
      <link>http://www.mapleprimes.com/questions/129857-How-To-Find-The-Minimum-Plusminus-?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;Let a list of n positive integers be given, e. g. [2,1,4]. &lt;br&gt;Let us consider all sums of&amp;nbsp; all its members signed by +-, e. g&lt;br&gt;-2-1-4=-7, -2+1-4=-5, -2-1+4=1, ... .&lt;br&gt;How to find the sum having the minimum&amp;nbsp; absolute value with Maple?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Let a list of n positive integers be given, e. g. [2,1,4]. &lt;br&gt;Let us consider all sums of&amp;nbsp; all its members signed by +-, e. g&lt;br&gt;-2-1-4=-7, -2+1-4=-5, -2-1+4=1, ... .&lt;br&gt;How to find the sum having the minimum&amp;nbsp; absolute value with Maple?&lt;/p&gt;</description>
      <guid>129857</guid>
      <pubDate>Fri, 20 Jan 2012 14:47:22 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>writedata (on a single line)</title>
      <link>http://www.mapleprimes.com/questions/129570-Writedata-on-A-Single-Line?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;have a list of lists, and I would like to write each of these lists on a separate file, *on a single line*.&lt;br&gt;&lt;br&gt;For instance consider the following trivial example:&lt;br&gt;&lt;br&gt;P := [[-.3819660120, .6180339880, -10000, -2], [.6180339880, 1.618033988, -10000, -1], [1.618033988, 10000, -10000, -.5], [2.618033988, 10000, -.5, -0.1e-3], [2.618033988, 10000, 0.1e-3, .5]]&lt;br&gt;&lt;br&gt;I would like to create&lt;br&gt;&amp;nbsp;+ a file named&amp;nbsp; P1.dat containing the line&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...</itunes:summary>
      <description>&lt;p&gt;have a list of lists, and I would like to write each of these lists on a separate file, *on a single line*.&lt;br&gt;&lt;br&gt;For instance consider the following trivial example:&lt;br&gt;&lt;br&gt;P := [[-.3819660120, .6180339880, -10000, -2], [.6180339880, 1.618033988, -10000, -1], [1.618033988, 10000, -10000, -.5], [2.618033988, 10000, -.5, -0.1e-3], [2.618033988, 10000, 0.1e-3, .5]]&lt;br&gt;&lt;br&gt;I would like to create&lt;br&gt;&amp;nbsp;+ a file named&amp;nbsp; P1.dat containing the line&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...</description>
      <guid>129570</guid>
      <pubDate>Thu, 12 Jan 2012 08:59:23 Z</pubDate>
      <itunes:author>Carlo Carminati</itunes:author>
      <author>Carlo Carminati</author>
    </item>
    <item>
      <title>How to convert a list name to string</title>
      <link>http://www.mapleprimes.com/questions/128163-How-To-Convert-A-List-Name-To-String?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;I have a procedure that gets two lists A and B, I want to restore the name of the entry lists as string. How can I do that?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;f(A,B) [procedure]&lt;/p&gt;
&lt;p&gt;e.g. a(MyList,LL)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to restore a:="MyList" and b="LL"&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I have a procedure that gets two lists A and B, I want to restore the name of the entry lists as string. How can I do that?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;f(A,B) [procedure]&lt;/p&gt;
&lt;p&gt;e.g. a(MyList,LL)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to restore a:="MyList" and b="LL"&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;</description>
      <guid>128163</guid>
      <pubDate>Sun, 27 Nov 2011 07:58:52 Z</pubDate>
      <itunes:author>protrader</itunes:author>
      <author>protrader</author>
    </item>
    <item>
      <title>A little problem</title>
      <link>http://www.mapleprimes.com/questions/127758-A-Little-Problem?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;When using the command "for", the results are placed in a column,such as if we input&lt;br&gt;for i from 1 to 3 do&amp;nbsp; i end do, the results are showed as&lt;/p&gt;
&lt;p&gt;1&lt;/p&gt;
&lt;p&gt;2&lt;/p&gt;
&lt;p&gt;3.&lt;/p&gt;
&lt;p&gt;This style is not convient to use for following computation. So how to put all results into a list or set ?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;When using the command "for", the results are placed in a column,such as if we input&lt;br&gt;for i from 1 to 3 do&amp;nbsp; i end do, the results are showed as&lt;/p&gt;
&lt;p&gt;1&lt;/p&gt;
&lt;p&gt;2&lt;/p&gt;
&lt;p&gt;3.&lt;/p&gt;
&lt;p&gt;This style is not convient to use for following computation. So how to put all results into a list or set ?&lt;/p&gt;</description>
      <guid>127758</guid>
      <pubDate>Tue, 15 Nov 2011 12:13:49 Z</pubDate>
      <itunes:author>Fei Wang</itunes:author>
      <author>Fei Wang</author>
    </item>
    <item>
      <title>remove commas from a list</title>
      <link>http://www.mapleprimes.com/questions/127696-Remove-Commas-From-A-List?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;Hi&amp;nbsp;i'm new to maple.&lt;br&gt;&lt;br&gt;Is there a way to remove commas from a list?&lt;br&gt;&lt;br&gt;I was able to remove the list from its brackets [] &lt;br&gt;but i was wondering if I'm able to remove the commas also? &lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Hi&amp;nbsp;i'm new to maple.&lt;br&gt;&lt;br&gt;Is there a way to remove commas from a list?&lt;br&gt;&lt;br&gt;I was able to remove the list from its brackets [] &lt;br&gt;but i was wondering if I'm able to remove the commas also? &lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>127696</guid>
      <pubDate>Sun, 13 Nov 2011 09:30:55 Z</pubDate>
      <itunes:author>louisewatts</itunes:author>
      <author>louisewatts</author>
    </item>
    <item>
      <title>How to get a list of power of differential function expression</title>
      <link>http://www.mapleprimes.com/questions/127594-How-To-Get-A-List-Of-Power-Of-Differential?ref=Feed:MaplePrimes:Tagged With list</link>
      <itunes:summary>&lt;p&gt;Giving a expression as follows, how to extract&amp;nbsp; powers of g to a list?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In this example the list of powers of g is {2,1,2}&lt;/p&gt;
&lt;p&gt;&lt;img class="math" src="http://www.mapleprimes.com/MapleImage.ashx?f=c31d461eeeb596fa820ed124f17d1c28.gif" alt="6*F*u[0, x]*g[x, x]*g^2+24*F*u[0]*g[x]^3-18*F*u[0]*g[x]*g[x, x]*g+2*F*u[0]*g[x, x, x]*g^2"&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Giving a expression as follows, how to extract&amp;nbsp; powers of g to a list?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In this example the list of powers of g is {2,1,2}&lt;/p&gt;
&lt;p&gt;&lt;img class="math" src="http://www.mapleprimes.com/MapleImage.ashx?f=c31d461eeeb596fa820ed124f17d1c28.gif" alt="6*F*u[0, x]*g[x, x]*g^2+24*F*u[0]*g[x]^3-18*F*u[0]*g[x]*g[x, x]*g+2*F*u[0]*g[x, x, x]*g^2"&gt;&lt;/p&gt;</description>
      <guid>127594</guid>
      <pubDate>Thu, 10 Nov 2011 03:59:36 Z</pubDate>
      <itunes:author>Fei Wang</itunes:author>
      <author>Fei Wang</author>
    </item>
  </channel>
</rss>
