<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - Questions and Posts tagged with module</title>
    <link>http://www.mapleprimes.com/tags/module</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:47:17 GMT</lastBuildDate>
    <pubDate>Mon, 21 May 2012 19:47:17 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The most recent questions and posts on MaplePrimes tagged with module</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - Questions and Posts tagged with module</title>
      <link>http://www.mapleprimes.com/tags/module</link>
    </image>
    <item>
      <title>Objects in Maple 16</title>
      <link>http://www.mapleprimes.com/questions/134233-Objects-In-Maple-16?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;(1) Does ModuleCopy, when automatically called from Object,&amp;nbsp; really get the a shallow copy of the object&lt;/p&gt;
&lt;p&gt;as the first parameter in its parameter list? See below, which is copied directly from &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=object,create'&gt;?object,create&lt;/a&gt;. The&lt;/p&gt;
&lt;p&gt;ModuleCopy has first argument new::Dollar but ModuleApply only passes its two arguments not three. I&lt;/p&gt;
&lt;p&gt;couldn't find a reference to this feature in the docs.</itunes:summary>
      <description>&lt;p&gt;(1) Does ModuleCopy, when automatically called from Object,&amp;nbsp; really get the a shallow copy of the object&lt;/p&gt;
&lt;p&gt;as the first parameter in its parameter list? See below, which is copied directly from &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=object,create'&gt;?object,create&lt;/a&gt;. The&lt;/p&gt;
&lt;p&gt;ModuleCopy has first argument new::Dollar but ModuleApply only passes its two arguments not three. I&lt;/p&gt;
&lt;p&gt;couldn't find a reference to this feature in the docs.</description>
      <guid>134233</guid>
      <pubDate>Tue, 15 May 2012 16:08:19 Z</pubDate>
      <itunes:author>gwpatrick</itunes:author>
      <author>gwpatrick</author>
    </item>
    <item>
      <title>Remove package module</title>
      <link>http://www.mapleprimes.com/questions/131018-Remove-Package-Module?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;I converted the &lt;strong&gt;package,module &lt;/strong&gt;to a worksheet then executed the example&amp;nbsp;before realizing it all executes at once.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;MyPackage := module()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export&amp;nbsp; f1, f2;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local&amp;nbsp;&amp;nbsp; loc1;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; option package;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1 := proc() loc1 end proc;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f2 := proc( v ...</itunes:summary>
      <description>&lt;p&gt;I converted the &lt;strong&gt;package,module &lt;/strong&gt;to a worksheet then executed the example&amp;nbsp;before realizing it all executes at once.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;MyPackage := module()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export&amp;nbsp; f1, f2;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local&amp;nbsp;&amp;nbsp; loc1;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; option package;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1 := proc() loc1 end proc;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f2 := proc( v ...</description>
      <guid>131018</guid>
      <pubDate>Tue, 21 Feb 2012 23:50:02 Z</pubDate>
      <itunes:author>Christopher2222</itunes:author>
      <author>Christopher2222</author>
    </item>
    <item>
      <title>Error, invalid input: with expects its 1st argument, pname</title>
      <link>http://www.mapleprimes.com/questions/130621-Error-Invalid-Input-With-Expects-Its?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;http://www-igm.univ-mlv.fr/~gauthier/HYPERG.html&lt;/p&gt;
&lt;p&gt;&amp;gt; Read("D:/Feb2012/HYPERG.mw"); with(HYPERG);&lt;br&gt;Error, invalid input: with expects its 1st argument, pname, to be of type {`module`, package}, but received HYPERG&lt;/p&gt;
&lt;p&gt;HYPERGLIB := "D:/Feb2012/";&lt;br&gt;libname := libname, HYPERGLIB:&lt;/p&gt;
&lt;p&gt;both methods above.&lt;/p&gt;
&lt;p&gt;after typing PolyRecSol(H...&lt;/p&gt;
&lt;p&gt;no result in Maple 15, just return similar command, no equation return.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;http://www-igm.univ-mlv.fr/~gauthier/HYPERG.html&lt;/p&gt;
&lt;p&gt;&amp;gt; Read("D:/Feb2012/HYPERG.mw"); with(HYPERG);&lt;br&gt;Error, invalid input: with expects its 1st argument, pname, to be of type {`module`, package}, but received HYPERG&lt;/p&gt;
&lt;p&gt;HYPERGLIB := "D:/Feb2012/";&lt;br&gt;libname := libname, HYPERGLIB:&lt;/p&gt;
&lt;p&gt;both methods above.&lt;/p&gt;
&lt;p&gt;after typing PolyRecSol(H...&lt;/p&gt;
&lt;p&gt;no result in Maple 15, just return similar command, no equation return.&lt;/p&gt;</description>
      <guid>130621</guid>
      <pubDate>Mon, 13 Feb 2012 07:46:17 Z</pubDate>
      <itunes:author>marram</itunes:author>
      <author>marram</author>
    </item>
    <item>
      <title>Bug in CodeTools:-EncodeName / DecodeName?</title>
      <link>http://www.mapleprimes.com/questions/130546-Bug-In-CodeToolsEncodeName--DecodeName?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;Is there a bug in the CodeTools:-EncodeName / DecodeName pair?&lt;/p&gt;
&lt;p&gt;Consider the following minimal example:&lt;/p&gt;
&lt;pre&gt;with(CodeTools):&lt;br&gt;M := module() option package; export f; f := proc() end proc; end module;&lt;br&gt;EncodeName(M:-f);&lt;br&gt;DecodeName(%);&lt;/pre&gt;
&lt;p&gt;The EncodeName gives answer:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;_Inert_ASSIGNEDLOCALNAME("f", "PROC", 0, _Inert_ATTRIBUTE(_Inert_NAME("protected", _Inert_ATTRIBUTE(_Inert_NAME("protected")))))&lt;/p&gt;
&lt;p&gt;But applying...</itunes:summary>
      <description>&lt;p&gt;Is there a bug in the CodeTools:-EncodeName / DecodeName pair?&lt;/p&gt;
&lt;p&gt;Consider the following minimal example:&lt;/p&gt;
&lt;pre&gt;with(CodeTools):&lt;br&gt;M := module() option package; export f; f := proc() end proc; end module;&lt;br&gt;EncodeName(M:-f);&lt;br&gt;DecodeName(%);&lt;/pre&gt;
&lt;p&gt;The EncodeName gives answer:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;_Inert_ASSIGNEDLOCALNAME("f", "PROC", 0, _Inert_ATTRIBUTE(_Inert_NAME("protected", _Inert_ATTRIBUTE(_Inert_NAME("protected")))))&lt;/p&gt;
&lt;p&gt;But applying...</description>
      <guid>130546</guid>
      <pubDate>Fri, 10 Feb 2012 07:11:56 Z</pubDate>
      <itunes:author>IanLisle</itunes:author>
      <author>IanLisle</author>
    </item>
    <item>
      <title>Overloading the * operator (for nested functions)</title>
      <link>http://www.mapleprimes.com/questions/127401-Overloading-The--Operator-for-Nested-Functions?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;I have a module to overload the * operator for the function f such that:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;a*f(b,c,d) = f(a*b,a*c,a*d)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;FPackage := &amp;nbsp;module()option package; &amp;nbsp;&amp;nbsp; export `*`; &amp;nbsp;&amp;nbsp; `*` := &amp;nbsp;&amp;nbsp; overload &amp;nbsp;&amp;nbsp; ( &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc(a::algebraic, b::specfunc(anything, f)) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; option overload; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map2(:-`*`, a, b...</itunes:summary>
      <description>&lt;p&gt;I have a module to overload the * operator for the function f such that:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;a*f(b,c,d) = f(a*b,a*c,a*d)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;FPackage := &amp;nbsp;module()option package; &amp;nbsp;&amp;nbsp; export `*`; &amp;nbsp;&amp;nbsp; `*` := &amp;nbsp;&amp;nbsp; overload &amp;nbsp;&amp;nbsp; ( &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc(a::algebraic, b::specfunc(anything, f)) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; option overload; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map2(:-`*`, a, b...</description>
      <guid>127401</guid>
      <pubDate>Sat, 05 Nov 2011 10:33:33 Z</pubDate>
      <itunes:author>Garlando</itunes:author>
      <author>Garlando</author>
    </item>
    <item>
      <title>Dual numbers, dual quaternions, attempting to define basic algebra</title>
      <link>http://www.mapleprimes.com/questions/125433-Dual-Numbers-Dual-Quaternions-Attempting?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would like to write some functions and algebra that work with dual numbers.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Dual_number"&gt;http://en.wikipedia.org/wiki/Dual_number&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Dual_quaternion"&gt;http://en.wikipedia.org/wiki/Dual_quaternion&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have not found a library that supports this.&lt;/p&gt;
&lt;p&gt;The basis of dual numbers it is epsilon^2=0, similar to i,j,k in complex algebra where i^2=-1,i*j=-1 etc.</itunes:summary>
      <description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would like to write some functions and algebra that work with dual numbers.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Dual_number"&gt;http://en.wikipedia.org/wiki/Dual_number&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Dual_quaternion"&gt;http://en.wikipedia.org/wiki/Dual_quaternion&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have not found a library that supports this.&lt;/p&gt;
&lt;p&gt;The basis of dual numbers it is epsilon^2=0, similar to i,j,k in complex algebra where i^2=-1,i*j=-1 etc.</description>
      <guid>125433</guid>
      <pubDate>Mon, 05 Sep 2011 15:21:49 Z</pubDate>
      <itunes:author>khrcak</itunes:author>
      <author>khrcak</author>
    </item>
    <item>
      <title>interface(verboseproc=3) doesn't allow seing module source code...</title>
      <link>http://www.mapleprimes.com/questions/123740-Interfaceverboseproc3-Doesnt-Allow?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;I know Maple has/had opensource ideas behind it, that's why&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;interface(verboseproc=3)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;print(sum)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;allows seing source code for function sum, but what if I want to see the source code for local procedures in Statistics module,&lt;/p&gt;
&lt;p&gt;for example&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;print(Statistics[Distribution])&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt;&lt;em&gt;proc() local T; try if type(args[1],':-ProbabilityDistribution') then if nargs=1 then return eval(args[1...&lt;/em&gt;</itunes:summary>
      <description>&lt;p&gt;I know Maple has/had opensource ideas behind it, that's why&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;interface(verboseproc=3)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;print(sum)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;allows seing source code for function sum, but what if I want to see the source code for local procedures in Statistics module,&lt;/p&gt;
&lt;p&gt;for example&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;print(Statistics[Distribution])&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt;&lt;em&gt;proc() local T; try if type(args[1],':-ProbabilityDistribution') then if nargs=1 then return eval(args[1...&lt;/em&gt;</description>
      <guid>123740</guid>
      <pubDate>Tue, 12 Jul 2011 08:44:27 Z</pubDate>
      <itunes:author>lu4</itunes:author>
      <author>lu4</author>
    </item>
    <item>
      <title>Changes in sqrt for Maple 15 — procedure versus module</title>
      <link>http://www.mapleprimes.com/posts/120450-Changes-In-Sqrt-For-Maple-15--Procedure?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I've noticed that something has changed to the type of sqrt in Maple 15, which breaks backward compatibility...&lt;/p&gt;
&lt;p&gt;In Maple 14, we have&lt;/p&gt;
&lt;pre&gt;&amp;gt; type(sqrt,procedure);          true&lt;br&gt;&amp;gt; type(sqrt,`module`);          false&lt;/pre&gt;
&lt;pre&gt;&amp;gt; eval(sqrt);          &lt;strong&gt;proc(x::algebraic, f::identical(symbolic)) &amp;nbsp;... &amp;nbsp;end proc&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;while in Maple 15, we have&lt;/p&gt;
&lt;pre&gt;&amp;gt; type(sqrt,procedure);          false&lt;br&gt;&amp;gt; type(sqrt,`module`);          true&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I've noticed that something has changed to the type of sqrt in Maple 15, which breaks backward compatibility...&lt;/p&gt;
&lt;p&gt;In Maple 14, we have&lt;/p&gt;
&lt;pre&gt;&amp;gt; type(sqrt,procedure);          true&lt;br&gt;&amp;gt; type(sqrt,`module`);          false&lt;/pre&gt;
&lt;pre&gt;&amp;gt; eval(sqrt);          &lt;strong&gt;proc(x::algebraic, f::identical(symbolic)) &amp;nbsp;... &amp;nbsp;end proc&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;while in Maple 15, we have&lt;/p&gt;
&lt;pre&gt;&amp;gt; type(sqrt,procedure);          false&lt;br&gt;&amp;gt; type(sqrt,`module`);          true&lt;/pre&gt;</description>
      <guid>120450</guid>
      <pubDate>Thu, 26 May 2011 09:33:49 Z</pubDate>
      <itunes:author>fbackelj</itunes:author>
      <author>fbackelj</author>
    </item>
    <item>
      <title>Get the module of a export</title>
      <link>http://www.mapleprimes.com/questions/119997-Get-The-Module-Of-A-Export?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;How could we get module which contain this export, for example&lt;/p&gt;
&lt;p&gt;I have&lt;/p&gt;
&lt;p&gt;m1 := module export a; end module;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;temp := m:-a;&lt;/p&gt;
&lt;p&gt;evalb(temp = a);&lt;br&gt;&amp;nbsp;# false&lt;br&gt;evalb(temp = m:-a);&lt;br&gt;&amp;nbsp;# true&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;but how could I get back the module like this&lt;/p&gt;
&lt;p&gt;temp2 := getModule(temp);&amp;nbsp;&lt;/p&gt;
&lt;p&gt;temp2;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;# m&lt;/p&gt;
&lt;p&gt;evalb(temp2 = m) ;&lt;/p&gt;
&lt;p&gt;# true&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;How could we get module which contain this export, for example&lt;/p&gt;
&lt;p&gt;I have&lt;/p&gt;
&lt;p&gt;m1 := module export a; end module;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;temp := m:-a;&lt;/p&gt;
&lt;p&gt;evalb(temp = a);&lt;br&gt;&amp;nbsp;# false&lt;br&gt;evalb(temp = m:-a);&lt;br&gt;&amp;nbsp;# true&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;but how could I get back the module like this&lt;/p&gt;
&lt;p&gt;temp2 := getModule(temp);&amp;nbsp;&lt;/p&gt;
&lt;p&gt;temp2;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;# m&lt;/p&gt;
&lt;p&gt;evalb(temp2 = m) ;&lt;/p&gt;
&lt;p&gt;# true&amp;nbsp;&lt;/p&gt;</description>
      <guid>119997</guid>
      <pubDate>Wed, 18 May 2011 08:30:10 Z</pubDate>
      <itunes:author>Rex Pan</itunes:author>
      <author>Rex Pan</author>
    </item>
    <item>
      <title>Debugging a module</title>
      <link>http://www.mapleprimes.com/questions/119524-Debugging-A-Module?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I'm trying to debug my module, but cannot find the problem! The problem areas are marked with red. Can you help?&lt;/p&gt;
&lt;p&gt;&lt;a href="/ViewTemp.ashx?f=140345_1304325917/Modul.mw"&gt;Modul.mw&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I'm trying to debug my module, but cannot find the problem! The problem areas are marked with red. Can you help?&lt;/p&gt;
&lt;p&gt;&lt;a href="/ViewTemp.ashx?f=140345_1304325917/Modul.mw"&gt;Modul.mw&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</description>
      <guid>119524</guid>
      <pubDate>Mon, 02 May 2011 08:46:36 Z</pubDate>
      <itunes:author>Budgie</itunes:author>
      <author>Budgie</author>
    </item>
    <item>
      <title>User friendly package</title>
      <link>http://www.mapleprimes.com/questions/119360-User-Friendly-Package?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I'm working on a project, where I need to create some user friendly proc/modules. I need it to ask for the variables e.i.&lt;/p&gt;
&lt;p&gt;'Enter equation'&lt;/p&gt;
&lt;p&gt;'Define range'&lt;/p&gt;
&lt;p&gt;etc. but I have no idea how to do so. Can you describe a method of doing so?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I'm working on a project, where I need to create some user friendly proc/modules. I need it to ask for the variables e.i.&lt;/p&gt;
&lt;p&gt;'Enter equation'&lt;/p&gt;
&lt;p&gt;'Define range'&lt;/p&gt;
&lt;p&gt;etc. but I have no idea how to do so. Can you describe a method of doing so?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</description>
      <guid>119360</guid>
      <pubDate>Wed, 27 Apr 2011 06:15:57 Z</pubDate>
      <itunes:author>Budgie</itunes:author>
      <author>Budgie</author>
    </item>
    <item>
      <title>Problem returning a value from an exported object of a module</title>
      <link>http://www.mapleprimes.com/questions/102509-Problem-Returning-A-Value-From-An-Exported?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;When a procedure is called that is nested inside of a module, it returns its own name rather than the value it calculates.&amp;nbsp; E.g. here is a very simple package:&lt;/p&gt;
&lt;p&gt;somePackage := module ()&lt;/p&gt;
&lt;p&gt;&amp;nbsp; export someproc;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; someproc := proc (yr)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return (2010);&lt;/p&gt;
&lt;p&gt;&amp;nbsp; end proc&lt;/p&gt;
&lt;p&gt;end module;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That compiles fine.&amp;nbsp; But when this is executed:&lt;/p&gt;
&lt;p&gt;somePackage[someproc];&lt;/p&gt;
&lt;p&gt;The...</itunes:summary>
      <description>&lt;p&gt;When a procedure is called that is nested inside of a module, it returns its own name rather than the value it calculates.&amp;nbsp; E.g. here is a very simple package:&lt;/p&gt;
&lt;p&gt;somePackage := module ()&lt;/p&gt;
&lt;p&gt;&amp;nbsp; export someproc;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; someproc := proc (yr)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return (2010);&lt;/p&gt;
&lt;p&gt;&amp;nbsp; end proc&lt;/p&gt;
&lt;p&gt;end module;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That compiles fine.&amp;nbsp; But when this is executed:&lt;/p&gt;
&lt;p&gt;somePackage[someproc];&lt;/p&gt;
&lt;p&gt;The...</description>
      <guid>102509</guid>
      <pubDate>Sun, 13 Mar 2011 17:02:28 Z</pubDate>
      <itunes:author>edvanderplug</itunes:author>
      <author>edvanderplug</author>
    </item>
    <item>
      <title>Custom lib can't call other libs</title>
      <link>http://www.mapleprimes.com/questions/96826-Custom-Lib-Cant-Call-Other-Libs?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i've wirtten a library for maple12, say "MyLib", which is given by the files "MyLib.ind" and "MyLib.lib".&lt;/p&gt;
&lt;p&gt;I've done this via&lt;/p&gt;
&lt;p&gt;&amp;gt; restart; &amp;nbsp;&lt;br&gt;&amp;gt;&amp;nbsp; march('create', "&amp;lt;path&amp;gt;/MyLib.lib", 1);&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; read "functions.txt";&lt;br&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br&gt;&amp;gt; savelibname:="&amp;lt;path&amp;gt;"; &lt;br&gt;&amp;gt; savelib( `MyLib` );&lt;/p&gt;
&lt;p&gt;where "functions.txt" is given as&lt;/p&gt;
&lt;p&gt;MyLib:= module()&lt;br&gt;&amp;nbsp; </itunes:summary>
      <description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i've wirtten a library for maple12, say "MyLib", which is given by the files "MyLib.ind" and "MyLib.lib".&lt;/p&gt;
&lt;p&gt;I've done this via&lt;/p&gt;
&lt;p&gt;&amp;gt; restart; &amp;nbsp;&lt;br&gt;&amp;gt;&amp;nbsp; march('create', "&amp;lt;path&amp;gt;/MyLib.lib", 1);&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; read "functions.txt";&lt;br&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br&gt;&amp;gt; savelibname:="&amp;lt;path&amp;gt;"; &lt;br&gt;&amp;gt; savelib( `MyLib` );&lt;/p&gt;
&lt;p&gt;where "functions.txt" is given as&lt;/p&gt;
&lt;p&gt;MyLib:= module()&lt;br&gt;&amp;nbsp; </description>
      <guid>96826</guid>
      <pubDate>Sun, 12 Sep 2010 14:27:22 Z</pubDate>
      <itunes:author>hanswurst</itunes:author>
      <author>hanswurst</author>
    </item>
    <item>
      <title>sequence of export variables in a module matter</title>
      <link>http://www.mapleprimes.com/questions/96566-Sequence-Of-Export-Variables-In-A-Module-Matter?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;hi all,&lt;/p&gt;
&lt;p&gt;swapping variables in the export line of a module changes its behavior.&lt;/p&gt;
&lt;p&gt;First Example (works fine):&lt;/p&gt;
&lt;p&gt;restart;&lt;br&gt;mp:= module() option package;&lt;br&gt;export mult, f2;&lt;br&gt;mult:=proc(v) return(3*v) end proc;&lt;br&gt;f2 :=proc(v) mult(v); end proc;&lt;br&gt;end module;&lt;/p&gt;
&lt;p&gt;savelibname:="E:\\tmp"; &lt;br&gt;savelib('mp');&lt;/p&gt;
&lt;p&gt;restart; &lt;br&gt;libname := libname, "E:\\tmp";&lt;/p&gt;
&lt;p&gt;with(mp);&lt;br&gt;mp:-f2(5);&lt;br&gt;mp:-mult(4);&lt;/p&gt;
&lt;p&gt;# Output: [f2,mult], 15, 12&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;hi all,&lt;/p&gt;
&lt;p&gt;swapping variables in the export line of a module changes its behavior.&lt;/p&gt;
&lt;p&gt;First Example (works fine):&lt;/p&gt;
&lt;p&gt;restart;&lt;br&gt;mp:= module() option package;&lt;br&gt;export mult, f2;&lt;br&gt;mult:=proc(v) return(3*v) end proc;&lt;br&gt;f2 :=proc(v) mult(v); end proc;&lt;br&gt;end module;&lt;/p&gt;
&lt;p&gt;savelibname:="E:\\tmp"; &lt;br&gt;savelib('mp');&lt;/p&gt;
&lt;p&gt;restart; &lt;br&gt;libname := libname, "E:\\tmp";&lt;/p&gt;
&lt;p&gt;with(mp);&lt;br&gt;mp:-f2(5);&lt;br&gt;mp:-mult(4);&lt;/p&gt;
&lt;p&gt;# Output: [f2,mult], 15, 12&lt;/p&gt;
</description>
      <guid>96566</guid>
      <pubDate>Wed, 01 Sep 2010 08:32:29 Z</pubDate>
      <itunes:author>mscheer</itunes:author>
      <author>mscheer</author>
    </item>
    <item>
      <title>How to extract  restriction of numerical solution of PDE?</title>
      <link>http://www.mapleprimes.com/questions/95261-How-To-Extract--Restriction-Of-Numerical?ref=Feed:MaplePrimes:Tagged With module</link>
      <itunes:summary>&lt;p&gt;The numerical solution of PDE with IBC is given as a module: &lt;a href="/view.aspx?sf=95261/278417/PDE1.mw"&gt;Download PDE1.mw&lt;/a&gt; . How to extract u(0.5,t) and u'_t(0.5,t) from this solution? Thanks in advance.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;The numerical solution of PDE with IBC is given as a module: &lt;a href="/view.aspx?sf=95261/278417/PDE1.mw"&gt;Download PDE1.mw&lt;/a&gt; . How to extract u(0.5,t) and u'_t(0.5,t) from this solution? Thanks in advance.&lt;/p&gt;</description>
      <guid>95261</guid>
      <pubDate>Tue, 20 Jul 2010 14:58:50 Z</pubDate>
      <itunes:author>hirnyk</itunes:author>
      <author>hirnyk</author>
    </item>
  </channel>
</rss>
