<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - Maple Posts and Questions</title>
    <link>http://www.mapleprimes.com/tags/Maple</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sun, 24 May 2026 23:46:57 GMT</lastBuildDate>
    <pubDate>Sun, 24 May 2026 23:46:57 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>Maple Questions and Posts on MaplePrimes</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - Maple Posts and Questions</title>
      <link>http://www.mapleprimes.com/tags/Maple</link>
    </image>
    <item>
      <title>How to tweak a procedure, for use with Grid?</title>
      <link>http://www.mapleprimes.com/questions/243609-How-To-Tweak-A-Procedure-For-Use-With-Grid?ref=Feed:MaplePrimes:Tagged With Maple</link>
      <itunes:summary>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I need to run the following procedure a couple of million times. Although it works, Maple sometimes chokes for no apparent reason (if there is a reason, please let me know). I was wondering whether an expert could help me tweak the procedure (or possibly rewrite it) to achieve the best possible performance. I am planning to use &lt;code&gt;Grid:-Map&lt;/code&gt; or, if possible, &lt;code&gt;Threads:-Map&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
generateNonlinearModelsPlus := proc(model::list,fullmodel::list,vars::list:=[x,y,z])
description &amp;quot;This function generates a list of all models with one more monomial from the full model&amp;quot;:
local tab::table(),n:=nops(model),i,j,k:=1,ans,terms,aaa,allmoncoefThreads:
# local procedure
allmoncoefThreads := proc(f::list,vars::list)
description &amp;quot;This function finds the monomials multipled by their coefficients for each expression (equation) of a list.&amp;quot;:
local n:=numelems(f),i,mon:=[seq](0,i=1..n),M,cc:=[seq](0,i=1..n),ans:
for i from 1 to n do
  cc[i]:=[coeffs](expand(f[i]),vars, &amp;#39;M&amp;#39;):
  mon[i]:=[M]:
end do:
ans:=[seq](zip((ww,vv)-&amp;gt;ww*vv,cc[i],mon[i]),i=1..n):
return(ans)
end proc:
# main part
ans:=zip((w,v)-&amp;gt;expand(simplify(v-w)),model,fullmodel): # Find the monomials that are not in model
terms:=allmoncoefThreads(ans,vars): # Separate the monomials
#
for i from 1 to n do
   aaa:=model:
   for j from 1 to nops(terms[i]) do
       aaa[i]:=model[i]+terms[i,j]:
       tab[k]:=aaa:
       k:=k+1:
   end do:
end do:
tab:=convert(tab,list):
return(tab):
end proc:
&lt;/pre&gt;

&lt;p&gt;Here is an example of how I run it:&amp;nbsp;&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
model:=[y*alpha[1, 2], z*alpha[2, 3], x^3*alpha[3, 10] + x*alpha[3, 1] + alpha[3, 0]]:

fullmodel:=[x^3*alpha[1, 10] + x^2*y*alpha[1, 11] + x^2*z*alpha[1, 12] + x*y^2*alpha[1, 13] + x*y*z*alpha[1, 14] + x*z^2*alpha[1, 15] + y^3*alpha[1, 16] + y^2*z*alpha[1, 17] + y*z^2*alpha[1, 18] + z^3*alpha[1, 19] + x^2*alpha[1, 4] + x*y*alpha[1, 5] + x*z*alpha[1, 6] + y^2*alpha[1, 7] + y*z*alpha[1, 8] + z^2*alpha[1, 9] + x*alpha[1, 1] + y*alpha[1, 2] + z*alpha[1, 3] + alpha[1, 0], x^3*alpha[2, 10] + x^2*y*alpha[2, 11] + x^2*z*alpha[2, 12] + x*y^2*alpha[2, 13] + x*y*z*alpha[2, 14] + x*z^2*alpha[2, 15] + y^3*alpha[2, 16] + y^2*z*alpha[2, 17] + y*z^2*alpha[2, 18] + z^3*alpha[2, 19] + x^2*alpha[2, 4] + x*y*alpha[2, 5] + x*z*alpha[2, 6] + y^2*alpha[2, 7] + y*z*alpha[2, 8] + z^2*alpha[2, 9] + x*alpha[2, 1] + y*alpha[2, 2] + z*alpha[2, 3] + alpha[2, 0], x^3*alpha[3, 10] + x^2*y*alpha[3, 11] + x^2*z*alpha[3, 12] + x*y^2*alpha[3, 13] + x*y*z*alpha[3, 14] + x*z^2*alpha[3, 15] + y^3*alpha[3, 16] + y^2*z*alpha[3, 17] + y*z^2*alpha[3, 18] + z^3*alpha[3, 19] + x^2*alpha[3, 4] + x*y*alpha[3, 5] + x*z*alpha[3, 6] + y^2*alpha[3, 7] + y*z*alpha[3, 8] + z^2*alpha[3, 9] + x*alpha[3, 1] + y*alpha[3, 2] + z*alpha[3, 3] + alpha[3, 0]]:

vars:=[x,y,z]:

ans:=generateNonlinearModelsPlus(model,fullmodel,vars)

&lt;/pre&gt;

&lt;p&gt;Many thanks.&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I need to run the following procedure a couple of million times. Although it works, Maple sometimes chokes for no apparent reason (if there is a reason, please let me know). I was wondering whether an expert could help me tweak the procedure (or possibly rewrite it) to achieve the best possible performance. I am planning to use &lt;code dir="ltr"&gt;Grid:-Map&lt;/code&gt; or, if possible, &lt;code dir="ltr"&gt;Threads:-Map&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
generateNonlinearModelsPlus := proc(model::list,fullmodel::list,vars::list:=[x,y,z])
description &amp;quot;This function generates a list of all models with one more monomial from the full model&amp;quot;:
local tab::table(),n:=nops(model),i,j,k:=1,ans,terms,aaa,allmoncoefThreads:
# local procedure
allmoncoefThreads := proc(f::list,vars::list)
description &amp;quot;This function finds the monomials multipled by their coefficients for each expression (equation) of a list.&amp;quot;:
local n:=numelems(f),i,mon:=[seq](0,i=1..n),M,cc:=[seq](0,i=1..n),ans:
for i from 1 to n do
  cc[i]:=[coeffs](expand(f[i]),vars, &amp;#39;M&amp;#39;):
  mon[i]:=[M]:
end do:
ans:=[seq](zip((ww,vv)-&amp;gt;ww*vv,cc[i],mon[i]),i=1..n):
return(ans)
end proc:
# main part
ans:=zip((w,v)-&amp;gt;expand(simplify(v-w)),model,fullmodel): # Find the monomials that are not in model
terms:=allmoncoefThreads(ans,vars): # Separate the monomials
#
for i from 1 to n do
   aaa:=model:
   for j from 1 to nops(terms[i]) do
       aaa[i]:=model[i]+terms[i,j]:
       tab[k]:=aaa:
       k:=k+1:
   end do:
end do:
tab:=convert(tab,list):
return(tab):
end proc:
&lt;/pre&gt;

&lt;p&gt;Here is an example of how I run it:&amp;nbsp;&lt;/p&gt;

&lt;pre class="prettyprint"&gt;
model:=[y*alpha[1, 2], z*alpha[2, 3], x^3*alpha[3, 10] + x*alpha[3, 1] + alpha[3, 0]]:

fullmodel:=[x^3*alpha[1, 10] + x^2*y*alpha[1, 11] + x^2*z*alpha[1, 12] + x*y^2*alpha[1, 13] + x*y*z*alpha[1, 14] + x*z^2*alpha[1, 15] + y^3*alpha[1, 16] + y^2*z*alpha[1, 17] + y*z^2*alpha[1, 18] + z^3*alpha[1, 19] + x^2*alpha[1, 4] + x*y*alpha[1, 5] + x*z*alpha[1, 6] + y^2*alpha[1, 7] + y*z*alpha[1, 8] + z^2*alpha[1, 9] + x*alpha[1, 1] + y*alpha[1, 2] + z*alpha[1, 3] + alpha[1, 0], x^3*alpha[2, 10] + x^2*y*alpha[2, 11] + x^2*z*alpha[2, 12] + x*y^2*alpha[2, 13] + x*y*z*alpha[2, 14] + x*z^2*alpha[2, 15] + y^3*alpha[2, 16] + y^2*z*alpha[2, 17] + y*z^2*alpha[2, 18] + z^3*alpha[2, 19] + x^2*alpha[2, 4] + x*y*alpha[2, 5] + x*z*alpha[2, 6] + y^2*alpha[2, 7] + y*z*alpha[2, 8] + z^2*alpha[2, 9] + x*alpha[2, 1] + y*alpha[2, 2] + z*alpha[2, 3] + alpha[2, 0], x^3*alpha[3, 10] + x^2*y*alpha[3, 11] + x^2*z*alpha[3, 12] + x*y^2*alpha[3, 13] + x*y*z*alpha[3, 14] + x*z^2*alpha[3, 15] + y^3*alpha[3, 16] + y^2*z*alpha[3, 17] + y*z^2*alpha[3, 18] + z^3*alpha[3, 19] + x^2*alpha[3, 4] + x*y*alpha[3, 5] + x*z*alpha[3, 6] + y^2*alpha[3, 7] + y*z*alpha[3, 8] + z^2*alpha[3, 9] + x*alpha[3, 1] + y*alpha[3, 2] + z*alpha[3, 3] + alpha[3, 0]]:

vars:=[x,y,z]:

ans:=generateNonlinearModelsPlus(model,fullmodel,vars)

&lt;/pre&gt;

&lt;p&gt;Many thanks.&lt;/p&gt;
</description>
      <guid>243609</guid>
      <pubDate>Fri, 22 May 2026 17:09:55 Z</pubDate>
      <itunes:author>emendes</itunes:author>
      <author>emendes</author>
    </item>
    <item>
      <title>System of nonlinear Diophantine equations</title>
      <link>http://www.mapleprimes.com/questions/243606-System-Of-Nonlinear-Diophantine-Equations?ref=Feed:MaplePrimes:Tagged With Maple</link>
      <itunes:summary>&lt;p&gt;For quite some time, I have wanted to solve the system attached in &amp;quot;test&amp;quot; using Maple. The smallest solution in natural numbers x, y, and z &lt;a href="/view.aspx?sf=243606_question/test.mw"&gt;test.mw&lt;/a&gt;&lt;/p&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="3D6BF348B2F5EB4B8942E0D81242C1ED"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="restart" height="23" src="/view.aspx?sf=243606_question/e699fd708efcb37ee3c840352c50f221.gif" style="vertical-align:-6px" width="54"&gt;&lt;/p&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="kernelopts(version)" height="23" src="/view.aspx?sf=243606_question/88bebbab0efb8b1336a07c10b66327f1.gif" style="vertical-align:-6px" width="134"&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="`Maple 2026.0, X86 64 WINDOWS, Apr 28 2026, Build ID 2011354`" height="23" src="/view.aspx?sf=243606_question/126ddba5cd7fefce497ff2e8347c1780.gif" style="vertical-align:-6px" width="410"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(1)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="interface(version)" height="23" src="/view.aspx?sf=243606_question/fc9a195520514d38efc02f1796dde106.gif" style="vertical-align:-6px" width="125"&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="`Standard Worksheet Interface, Maple 2026.1, Windows 11, April 28 2026 Build ID 2011354`" height="23" src="/view.aspx?sf=243606_question/8f7cdff34694e4632aff7c10a90139dd.gif" style="vertical-align:-6px" width="560"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(2)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="with(NumberTheory)" height="23" src="/view.aspx?sf=243606_question/0c44a46a75d24f1d216d85b4e996d21c.gif" style="vertical-align:-6px" width="147"&gt;&lt;/p&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="isolve({x*y*z = w^2, x+y+z = u^2, x*y+x*z+y*z = v^2})" height="27" src="/view.aspx?sf=243606_question/17f6b8025aceb1b3e787bba0527c095d.gif" style="vertical-align:-6px" width="383"&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="{u = _Z1, v = 0, w = 0, x = _Z1^2, y = 0, z = 0}" height="27" src="/view.aspx?sf=243606_question/fcdca554ba95d0d493ab176bfae7e755.gif" style="vertical-align:-6px" width="272"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(3)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="&amp;quot;(-&amp;gt;)&amp;quot;" height="27" src="/view.aspx?sf=243606_question/15044870e29d58bb31eb6e00d966f890.gif" style="vertical-align:-4px" width="113"&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="{u = _Z1, v = 0, w = 0, x = _Z1^2, y = 0, z = 0}" height="27" src="/view.aspx?sf=243606_question/7440f8713e7899afdb6b92ee54d5a54a.gif" style="vertical-align:-6px" width="272"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(4)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="``" height="23" src="/view.aspx?sf=243606_question/983a1825335e8dfbdca571d83041741b.gif" style="vertical-align:-6px" width="11"&gt;&lt;/p&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;input name="sequence" type="hidden" value="1"&gt; &lt;input name="cmd" type="hidden" value="none"&gt;&lt;/form&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243606_question/test.mw"&gt;Download test.mw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;is known, and all these numbers are less than 4 &amp;times; 10&amp;sup1;&amp;sup2;. Is this possible in Maple?&lt;/p&gt;

&lt;p&gt;(x=1633780814400; y=252782198228;&amp;nbsp;z=3474741058973)&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;For quite some time, I have wanted to solve the system attached in &amp;quot;test&amp;quot; using Maple. The smallest solution in natural numbers x, y, and z &lt;a href="/view.aspx?sf=243606_question/test.mw"&gt;test.mw&lt;/a&gt;&lt;/p&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="3D6BF348B2F5EB4B8942E0D81242C1ED"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="restart" height="23" src="/view.aspx?sf=243606_question/e699fd708efcb37ee3c840352c50f221.gif" style="vertical-align:-6px" width="54"&gt;&lt;/p&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="kernelopts(version)" height="23" src="/view.aspx?sf=243606_question/88bebbab0efb8b1336a07c10b66327f1.gif" style="vertical-align:-6px" width="134"&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="`Maple 2026.0, X86 64 WINDOWS, Apr 28 2026, Build ID 2011354`" height="23" src="/view.aspx?sf=243606_question/126ddba5cd7fefce497ff2e8347c1780.gif" style="vertical-align:-6px" width="410"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(1)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="interface(version)" height="23" src="/view.aspx?sf=243606_question/fc9a195520514d38efc02f1796dde106.gif" style="vertical-align:-6px" width="125"&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="`Standard Worksheet Interface, Maple 2026.1, Windows 11, April 28 2026 Build ID 2011354`" height="23" src="/view.aspx?sf=243606_question/8f7cdff34694e4632aff7c10a90139dd.gif" style="vertical-align:-6px" width="560"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(2)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="with(NumberTheory)" height="23" src="/view.aspx?sf=243606_question/0c44a46a75d24f1d216d85b4e996d21c.gif" style="vertical-align:-6px" width="147"&gt;&lt;/p&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="isolve({x*y*z = w^2, x+y+z = u^2, x*y+x*z+y*z = v^2})" height="27" src="/view.aspx?sf=243606_question/17f6b8025aceb1b3e787bba0527c095d.gif" style="vertical-align:-6px" width="383"&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="{u = _Z1, v = 0, w = 0, x = _Z1^2, y = 0, z = 0}" height="27" src="/view.aspx?sf=243606_question/fcdca554ba95d0d493ab176bfae7e755.gif" style="vertical-align:-6px" width="272"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(3)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="&amp;quot;(-&amp;gt;)&amp;quot;" height="27" src="/view.aspx?sf=243606_question/15044870e29d58bb31eb6e00d966f890.gif" style="vertical-align:-4px" width="113"&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="{u = _Z1, v = 0, w = 0, x = _Z1^2, y = 0, z = 0}" height="27" src="/view.aspx?sf=243606_question/7440f8713e7899afdb6b92ee54d5a54a.gif" style="vertical-align:-6px" width="272"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(4)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;img alt="``" height="23" src="/view.aspx?sf=243606_question/983a1825335e8dfbdca571d83041741b.gif" style="vertical-align:-6px" width="11"&gt;&lt;/p&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;input name="sequence" type="hidden" value="1"&gt; &lt;input name="cmd" type="hidden" value="none"&gt;&lt;/form&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243606_question/test.mw"&gt;Download test.mw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;is known, and all these numbers are less than 4 &amp;times; 10&amp;sup1;&amp;sup2;. Is this possible in Maple?&lt;/p&gt;

&lt;p&gt;(x=1633780814400; y=252782198228;&amp;nbsp;z=3474741058973)&lt;/p&gt;
</description>
      <guid>243606</guid>
      <pubDate>Thu, 21 May 2026 15:05:28 Z</pubDate>
      <itunes:author>Alfred_F</itunes:author>
      <author>Alfred_F</author>
    </item>
    <item>
      <title>Removing spaces in plots:-sparsematrixplot</title>
      <link>http://www.mapleprimes.com/questions/243605-Removing-Spaces-In-Plotssparsematrixplot?ref=Feed:MaplePrimes:Tagged With Maple</link>
      <itunes:summary>&lt;p&gt;&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;M&lt;/strong&gt; being some sparse matrix, &lt;strong&gt;plots:-sparsematrixplot(M)&lt;/strong&gt; displays a patchwork of squares with two different colors: one for elements of &lt;strong&gt;M&lt;/strong&gt; different 0 and the other for elements of &lt;strong&gt;M&lt;/strong&gt; equal to 0.&lt;br&gt;
The squares are separated by what visually appears like blank lines (in fact tere are no such lines, just gaps between the different squares making them not adjacent).&lt;br&gt;
&lt;br&gt;
So my question: Is it possible, &lt;strong&gt;without resorting to any workaround based upon PLOT(POLYGONS(..)) or plottools functions&lt;/strong&gt;&amp;nbsp;(I know how to write such workarounds and I&amp;#39;m not interested in that) to suppress these &amp;quot;white lines&amp;quot;, or otherwise said to make the squares adjacent?&amp;nbsp;&lt;br&gt;
I thought that maybe some (hidden?) option acting like &lt;strong&gt;style=patchnogrid&lt;/strong&gt;&amp;nbsp;could exist, or to an undocumented feaure...&lt;br&gt;
&lt;br&gt;
Thanks for your reply.&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;M&lt;/strong&gt; being some sparse matrix, &lt;strong&gt;plots:-sparsematrixplot(M)&lt;/strong&gt; displays a patchwork of squares with two different colors: one for elements of &lt;strong&gt;M&lt;/strong&gt; different 0 and the other for elements of &lt;strong&gt;M&lt;/strong&gt; equal to 0.&lt;br /&gt;
The squares are separated by what visually appears like blank lines (in fact tere are no such lines, just gaps between the different squares making them not adjacent).&lt;br /&gt;
&lt;br /&gt;
So my question: Is it possible, &lt;strong&gt;without resorting to any workaround based upon PLOT(POLYGONS(..)) or plottools functions&lt;/strong&gt;&amp;nbsp;(I know how to write such workarounds and I&amp;#39;m not interested in that) to suppress these &amp;quot;white lines&amp;quot;, or otherwise said to make the squares adjacent?&amp;nbsp;&lt;br /&gt;
I thought that maybe some (hidden?) option acting like &lt;strong&gt;style=patchnogrid&lt;/strong&gt;&amp;nbsp;could exist, or to an undocumented feaure...&lt;br /&gt;
&lt;br /&gt;
Thanks for your reply.&lt;/p&gt;
</description>
      <guid>243605</guid>
      <pubDate>Thu, 21 May 2026 09:43:24 Z</pubDate>
      <itunes:author>sand15</itunes:author>
      <author>sand15</author>
    </item>
    <item>
      <title>3-D histograms?</title>
      <link>http://www.mapleprimes.com/questions/243603-3D-Histograms?ref=Feed:MaplePrimes:Tagged With Maple</link>
      <itunes:summary>&lt;p&gt;The title is the question. I am fairly certain that Maple in itself (up to 2023) does not have this. There is of course Statistics:-Histogram, but that is a 1-D histogram only.&lt;/p&gt;

&lt;p&gt;Given 2 Vectors of floats, say, xvec[n] and yvec[n]. The idea would be to divide up a 2-D grid into &amp;quot;pixels&amp;quot; that accumulate a count when (xvec[i],yvec[i]) falls into the range for a pixel (xrange,yrange). Plotting each of these pixels as rectangular column creates the histogram.&lt;/p&gt;

&lt;p&gt;I could of course program one myself, but as I am lazy and this seems like a common kind of plot (at least in statistics and in physics), someone may well have done such a thing. DDG search did not find anything, at least not wrt. Maple.&lt;/p&gt;

&lt;p&gt;Here is an example plot close to what I am thinking of (random plot pulled off the web). The color scheme of the plot is not what I am after (although it does look nice).&lt;/p&gt;

&lt;p&gt;&lt;img alt="Lego plot of a 600MeV/A Si track. Empty pixels (i.e. TOT count = 0) are ..." class="PKoePAd27Rvkn8lN5Kqt" src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse1.mm.bing.net%2Fth%2Fid%2FOIP.wD8ea3tQc0BpoL3PzyVNAAHaFH%3Fpid%3DApi&amp;amp;f=1&amp;amp;ipt=97097919aedf66109df5d98dcfd2b139f8833d793c75dea7c64da140ca8020a1&amp;amp;ipo=images"&gt;&lt;/p&gt;

&lt;div class="GUbK9PUYz4NGqHOfl4JY"&gt;&amp;nbsp;&lt;/div&gt;

&lt;div class="GUbK9PUYz4NGqHOfl4JY"&gt;Thanks in advance,&lt;/div&gt;

&lt;div class="GUbK9PUYz4NGqHOfl4JY"&gt;Mac Dude&lt;/div&gt;
</itunes:summary>
      <description>&lt;p&gt;The title is the question. I am fairly certain that Maple in itself (up to 2023) does not have this. There is of course Statistics:-Histogram, but that is a 1-D histogram only.&lt;/p&gt;

&lt;p&gt;Given 2 Vectors of floats, say, xvec[n] and yvec[n]. The idea would be to divide up a 2-D grid into &amp;quot;pixels&amp;quot; that accumulate a count when (xvec[i],yvec[i]) falls into the range for a pixel (xrange,yrange). Plotting each of these pixels as rectangular column creates the histogram.&lt;/p&gt;

&lt;p&gt;I could of course program one myself, but as I am lazy and this seems like a common kind of plot (at least in statistics and in physics), someone may well have done such a thing. DDG search did not find anything, at least not wrt. Maple.&lt;/p&gt;

&lt;p&gt;Here is an example plot close to what I am thinking of (random plot pulled off the web). The color scheme of the plot is not what I am after (although it does look nice).&lt;/p&gt;

&lt;p&gt;&lt;img alt="Lego plot of a 600MeV/A Si track. Empty pixels (i.e. TOT count = 0) are ..." class="PKoePAd27Rvkn8lN5Kqt" loading="lazy" src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse1.mm.bing.net%2Fth%2Fid%2FOIP.wD8ea3tQc0BpoL3PzyVNAAHaFH%3Fpid%3DApi&amp;amp;f=1&amp;amp;ipt=97097919aedf66109df5d98dcfd2b139f8833d793c75dea7c64da140ca8020a1&amp;amp;ipo=images" /&gt;&lt;/p&gt;

&lt;div class="GUbK9PUYz4NGqHOfl4JY"&gt;&amp;nbsp;&lt;/div&gt;

&lt;div class="GUbK9PUYz4NGqHOfl4JY"&gt;Thanks in advance,&lt;/div&gt;

&lt;div class="GUbK9PUYz4NGqHOfl4JY"&gt;Mac Dude&lt;/div&gt;
</description>
      <guid>243603</guid>
      <pubDate>Tue, 19 May 2026 20:42:00 Z</pubDate>
      <itunes:author>Mac Dude</itunes:author>
      <author>Mac Dude</author>
    </item>
    <item>
      <title>Tribonacci numbers</title>
      <link>http://www.mapleprimes.com/posts/234847-Tribonacci-Numbers?ref=Feed:MaplePrimes:Tagged With Maple</link>
      <itunes:summary>&lt;p&gt;Hi MaplePrimes, and all,&lt;/p&gt;

&lt;p&gt;Here is a new, to me, set of numbers&lt;br&gt;
defined by ,&lt;br&gt;
the first three numbers are {1,2,3}&lt;br&gt;
and then,&amp;nbsp;&lt;br&gt;
the next number is the sum of the three&amp;nbsp;&lt;br&gt;
previous numbers,&lt;br&gt;
so,&lt;br&gt;
{1,2,3,6,11,20, ... }&lt;br&gt;
but can only calculate a finite number of numbers&lt;br&gt;
the, so called, Tribonacci numbers&lt;br&gt;
could start with {0,1,0}&lt;br&gt;
see online&lt;br&gt;
&lt;a href="https://oeis.org/A001590"&gt;https://oeis.org/A001590&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and&lt;br&gt;
&lt;a href="/view.aspx?sf=234847_post/triple_recursive_sequence_simple_first.mw"&gt;triple_recursive_sequence_simple_first.mw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=234847_post/triple_recursive_sequence_simple_first.pdf"&gt;triple_recursive_sequence_simple_first.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;regards,&lt;br&gt;
Matt&lt;br&gt;
&amp;nbsp;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Hi MaplePrimes, and all,&lt;/p&gt;

&lt;p&gt;Here is a new, to me, set of numbers&lt;br&gt;
defined by ,&lt;br&gt;
the first three numbers are {1,2,3}&lt;br&gt;
and then,&amp;nbsp;&lt;br&gt;
the next number is the sum of the three&amp;nbsp;&lt;br&gt;
previous numbers,&lt;br&gt;
so,&lt;br&gt;
{1,2,3,6,11,20, ... }&lt;br&gt;
but can only calculate a finite number of numbers&lt;br&gt;
the, so called, Tribonacci numbers&lt;br&gt;
could start with {0,1,0}&lt;br&gt;
see online&lt;br&gt;
&lt;a href="https://oeis.org/A001590"&gt;https://oeis.org/A001590&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and&lt;br&gt;
&lt;a href="/view.aspx?sf=234847_post/triple_recursive_sequence_simple_first.mw"&gt;triple_recursive_sequence_simple_first.mw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=234847_post/triple_recursive_sequence_simple_first.pdf"&gt;triple_recursive_sequence_simple_first.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;regards,&lt;br&gt;
Matt&lt;br&gt;
&amp;nbsp;&lt;/p&gt;
</description>
      <guid>234847</guid>
      <pubDate>Tue, 19 May 2026 20:35:22 Z</pubDate>
      <itunes:author>Mister_Matthew_abc</itunes:author>
      <author>Mister_Matthew_abc</author>
    </item>
    <item>
      <title>why the error message?</title>
      <link>http://www.mapleprimes.com/questions/243602-Why-The-Error-Message?ref=Feed:MaplePrimes:Tagged With Maple</link>
      <itunes:summary>&lt;p&gt;Here is a snippet of code that returns an error message. The details of the h procedure should be irrelevant.&lt;/p&gt;

&lt;p&gt;h:=proc(k,x)&lt;br&gt;
local z,w;&lt;br&gt;
nans(parameters=[k,x]);&lt;br&gt;
z:=nans(0.98);&lt;br&gt;
w:=rhs(z[2]),rhs(z[3])&lt;br&gt;
end proc;&lt;br&gt;
&amp;nbsp;h := proc (k, x) local z, w; nans(parameters = [k, x]); z :=&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; nans(.98); w := rhs(z[2]), rhs(z[3]) end proc;&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
h(7.7,0.3);&lt;br&gt;
0.310903619302454933005944397083, 0.731944275983583692659532399302&lt;/p&gt;

&lt;p&gt;plot([h(7.7,x),x=0..30]);&lt;br&gt;
Error, (in dsolve/numeric/process_parameters) &amp;#39;parameters&amp;#39; must be specified as a list of numeric values&lt;/p&gt;

&lt;p&gt;Note that the line&amp;nbsp;h(7.7,0.3); is just there to show that h functions well. It accepts 2 numerical inputs and spits out a pair of numerical values.&lt;/p&gt;

&lt;p&gt;Why is plot not plotting? Why is plot asking about inner workings of h?&lt;br&gt;
&lt;br&gt;
If I try&lt;/p&gt;

&lt;p&gt;f:=proc(x,y)&lt;/p&gt;

&lt;p&gt;cos(x),sin(x*y)&amp;nbsp;&lt;br&gt;
end proc;&lt;br&gt;
plot([f(x,7.7),x=0..3]);&lt;br&gt;
that woks fine. Plot does not inquire about f.&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Here is a snippet of code that returns an error message. The details of the h procedure should be irrelevant.&lt;/p&gt;

&lt;p&gt;h:=proc(k,x)&lt;br /&gt;
local z,w;&lt;br /&gt;
nans(parameters=[k,x]);&lt;br /&gt;
z:=nans(0.98);&lt;br /&gt;
w:=rhs(z[2]),rhs(z[3])&lt;br /&gt;
end proc;&lt;br /&gt;
&amp;nbsp;h := proc (k, x) local z, w; nans(parameters = [k, x]); z :=&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp; &amp;nbsp; nans(.98); w := rhs(z[2]), rhs(z[3]) end proc;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;
h(7.7,0.3);&lt;br /&gt;
0.310903619302454933005944397083, 0.731944275983583692659532399302&lt;/p&gt;

&lt;p&gt;plot([h(7.7,x),x=0..30]);&lt;br /&gt;
Error, (in dsolve/numeric/process_parameters) &amp;#39;parameters&amp;#39; must be specified as a list of numeric values&lt;/p&gt;

&lt;p&gt;Note that the line&amp;nbsp;h(7.7,0.3); is just there to show that h functions well. It accepts 2 numerical inputs and spits out a pair of numerical values.&lt;/p&gt;

&lt;p&gt;Why is plot not plotting? Why is plot asking about inner workings of h?&lt;br /&gt;
&lt;br /&gt;
If I try&lt;/p&gt;

&lt;p&gt;f:=proc(x,y)&lt;/p&gt;

&lt;p&gt;cos(x),sin(x*y)&amp;nbsp;&lt;br /&gt;
end proc;&lt;br /&gt;
plot([f(x,7.7),x=0..3]);&lt;br /&gt;
that woks fine. Plot does not inquire about f.&lt;/p&gt;
</description>
      <guid>243602</guid>
      <pubDate>Tue, 19 May 2026 15:32:21 Z</pubDate>
      <itunes:author>awass</itunes:author>
      <author>awass</author>
    </item>
  </channel>
</rss>