<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Vector valued functions in maple</title>
    <link>http://www.mapleprimes.com/questions/144653-Vector-Valued-Functions-In-Maple</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 10:19:49 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 10:19:49 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Vector valued functions in maple</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Vector valued functions in maple</title>
      <link>http://www.mapleprimes.com/questions/144653-Vector-Valued-Functions-In-Maple</link>
    </image>
    <item>
      <title>Use with(VectorCalculus);</title>
      <link>http://www.mapleprimes.com/questions/144653-Vector-Valued-Functions-In-Maple?ref=Feed:MaplePrimes:Vector valued functions in maple:Comments#answer144654</link>
      <itunes:summary>&lt;pre&gt;Hi, Is this what you mean?&lt;/pre&gt;
&lt;pre&gt;&amp;gt; restart; with(VectorCalculus);&lt;br&gt;&amp;gt; F := proc (x, y, z) options operator, arrow; 6*x^2+3*x*y^2-(3/2)*z^3 end proc;&lt;br&gt;&amp;gt; q := F(px, py, pz);&lt;br&gt;&amp;gt; H := Hessian(F(x, y, z), [x, y, z]);&lt;br&gt;&amp;gt; subs(x = px, y = py, z = pz, H);&lt;/pre&gt;</itunes:summary>
      <description>&lt;pre&gt;Hi, Is this what you mean?&lt;/pre&gt;
&lt;pre&gt;&amp;gt; restart; with(VectorCalculus);&lt;br&gt;&amp;gt; F := proc (x, y, z) options operator, arrow; 6*x^2+3*x*y^2-(3/2)*z^3 end proc;&lt;br&gt;&amp;gt; q := F(px, py, pz);&lt;br&gt;&amp;gt; H := Hessian(F(x, y, z), [x, y, z]);&lt;br&gt;&amp;gt; subs(x = px, y = py, z = pz, H);&lt;/pre&gt;</description>
      <guid>144654</guid>
      <pubDate>Fri, 15 Mar 2013 10:04:38 Z</pubDate>
      <itunes:author>Willem Ottevanger</itunes:author>
      <author>Willem Ottevanger</author>
    </item>
    <item>
      <title>Hessian</title>
      <link>http://www.mapleprimes.com/questions/144653-Vector-Valued-Functions-In-Maple?ref=Feed:MaplePrimes:Vector valued functions in maple:Comments#answer144655</link>
      <itunes:summary>&lt;p&gt;Below I use i, i+2, and i^2 for your "point" P(1,2,3), so that it depends on the value of `i`.&lt;/p&gt;
&lt;p&gt;Another possibility for referring to such a "point" might be to use a Vector, V, in which case its entries might be referenced instead as V[1], V[2], V[3].&lt;/p&gt;
&lt;p&gt;Using expressions,&lt;/p&gt;
&lt;pre&gt;restart:
F:=6*x^2 + 3*x*y^2 - 1.5*z^3;
H:=VectorCalculus:-Hessian(F,[x,y,z]);
for i from 1 to 3 do
   eval(F,[x=i,y=i+2,z=i^2]);
   eval(H,[x=i,y=i+2,z=i^2]);
end do;
&lt;/pre&gt;
&lt;p&gt;Using operators (procedures),&lt;/p&gt;
&lt;pre&gt;restart:
F:=(x,y,z)-&amp;gt;6*x^2 + 3*x*y^2 - 1.5*z^3:
H:=unapply(VectorCalculus:-Hessian(F(x,y,z),[x,y,z]),[x,y,z]):
for i from 1 to 3 do
   F(i,i+2,i^2);
   H(i,i+2,i^2);
end do;
&lt;/pre&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Below I use i, i+2, and i^2 for your "point" P(1,2,3), so that it depends on the value of `i`.&lt;/p&gt;
&lt;p&gt;Another possibility for referring to such a "point" might be to use a Vector, V, in which case its entries might be referenced instead as V[1], V[2], V[3].&lt;/p&gt;
&lt;p&gt;Using expressions,&lt;/p&gt;
&lt;pre&gt;restart:
F:=6*x^2 + 3*x*y^2 - 1.5*z^3;
H:=VectorCalculus:-Hessian(F,[x,y,z]);
for i from 1 to 3 do
   eval(F,[x=i,y=i+2,z=i^2]);
   eval(H,[x=i,y=i+2,z=i^2]);
end do;
&lt;/pre&gt;
&lt;p&gt;Using operators (procedures),&lt;/p&gt;
&lt;pre&gt;restart:
F:=(x,y,z)-&amp;gt;6*x^2 + 3*x*y^2 - 1.5*z^3:
H:=unapply(VectorCalculus:-Hessian(F(x,y,z),[x,y,z]),[x,y,z]):
for i from 1 to 3 do
   F(i,i+2,i^2);
   H(i,i+2,i^2);
end do;
&lt;/pre&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>144655</guid>
      <pubDate>Fri, 15 Mar 2013 10:05:17 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>Variant</title>
      <link>http://www.mapleprimes.com/questions/144653-Vector-Valued-Functions-In-Maple?ref=Feed:MaplePrimes:Vector valued functions in maple:Comments#answer144658</link>
      <itunes:summary>&lt;p&gt;If you want a vector to be argument in your function, you can use the &amp;nbsp;&lt;strong&gt;unapply&lt;/strong&gt; &amp;nbsp;command:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;F:=unapply(6*x[1]^2 + 3*x[2]^2 - 1.5*x[3]^3, x::Vector):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;F(&amp;lt;1,2,3&amp;gt;);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;H:=unapply(Student[VectorCalculus][Hessian](F(&amp;lt;X[1], X[2], X[3]&amp;gt;), [X[1], X[2], X[3]]), X::Vector):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;H(&amp;lt;x,y,z&amp;gt;);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;H(&amp;lt;1,2,3&amp;gt;);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="http://s020.radikal.ru/i711/1303/6d/73031a57303b.png" alt="" width="276" height="292"&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br&gt;&lt;/strong&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;If you want a vector to be argument in your function, you can use the &amp;nbsp;&lt;strong&gt;unapply&lt;/strong&gt; &amp;nbsp;command:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;F:=unapply(6*x[1]^2 + 3*x[2]^2 - 1.5*x[3]^3, x::Vector):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;F(&amp;lt;1,2,3&amp;gt;);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;H:=unapply(Student[VectorCalculus][Hessian](F(&amp;lt;X[1], X[2], X[3]&amp;gt;), [X[1], X[2], X[3]]), X::Vector):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;H(&amp;lt;x,y,z&amp;gt;);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;H(&amp;lt;1,2,3&amp;gt;);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="http://s020.radikal.ru/i711/1303/6d/73031a57303b.png" alt="" width="276" height="292"&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br&gt;&lt;/strong&gt;&lt;/p&gt;</description>
      <guid>144658</guid>
      <pubDate>Fri, 15 Mar 2013 12:17:17 Z</pubDate>
      <itunes:author>Kitonum</itunes:author>
      <author>Kitonum</author>
    </item>
    <item>
      <title>It is as simple if one does not use a VectorCalculus package</title>
      <link>http://www.mapleprimes.com/questions/144653-Vector-Valued-Functions-In-Maple?ref=Feed:MaplePrimes:Vector valued functions in maple:Comments#answer144714</link>
      <itunes:summary>&lt;p&gt;If you want to use a vector with components it is easy to use the ideas in the attached worksheet.&amp;nbsp; Once you get rid of the component labels life is easy.&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;restart;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Put in the function.&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;F(x,y,z):= 6*x^2 + 3*x*y^2 - 1.5*z^3;&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=144714/456275/d50e08cd637d4f927420952ea93a1766.gif" alt="6*x^2+3*x*y^2-1.5*z^3" width="205" height="27"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Change the variables to components of a vector w and turn F into a function of a vector or list w.&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;F := unapply(subs({x=w[1],y=w[2],z=w[3]},F(x,y,z)),w);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -11;" src="/view.aspx?sf=144714/456275/b4dccdad094296754f16f3d38e7dad9e.gif" alt="proc (w) options operator, arrow; 6*w[1]^2+3*w[1]*w[2]^2-1.5*w[3]^3 end proc" width="210" height="32"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Use the standard matrix formula for the Hessian to make the Hessian of F a function of x.&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;HF := unapply(Matrix(3,3,(i,j)-&amp;gt;diff(F(x),x[i],x[j])),x);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -55;" src="/view.aspx?sf=144714/456275/2e6f7ce7341f584ad4831a64fa970c64.gif" alt="proc (x) options operator, arrow; rtable(1 .. 3, 1 .. 3, {(1, 1) = 12, (1, 2) = 6*x[2], (2, 1) = 6*x[2], (2, 2) = 6*x[1], (3, 3) = -9.0*x[3]}, datatype = anything, subtype = Matrix, storage = rectangular, order = Fortran_order) end proc" width="546" height="72" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;One can then simply evaluate F and HF on a list of points or vectors.&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;(You can also do this with a loop.)&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;Points1 := [&amp;lt;1,1,1&amp;gt;,&amp;lt;2,3,4&amp;gt;,&amp;lt;3,4,5&amp;gt;];&lt;br&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;map(F,Points1);&lt;br&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;map(HF,Points1);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -34;" src="/view.aspx?sf=144714/456275/14b772cbb07f0cf9c133c917adae66d5.gif" alt="Points1 := [Vector(3, {(1) = 1, (2) = 1, (3) = 1}), Vector(3, {(1) = 2, (2) = 3, (3) = 4}), Vector(3, {(1) = 3, (2) = 4, (3) = 5})]" width="182" height="79"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=144714/456275/b97337c661c10cd78605addfe1217d63.gif" alt="[[Typesetting:-mn(&amp;quot;7.5&amp;quot;, mathvariant = &amp;quot;normal&amp;quot;), Typesetting:-mrow(Typesetting:-mo(&amp;quot;&amp;amp;uminus0;&amp;quot;, mathvariant = &amp;quot;normal&amp;quot;, fence = &amp;quot;false&amp;quot;, separator = &amp;quot;false&amp;quot;, stretchy = &amp;quot;false&amp;quot;, symmetric = &amp;quot;false&amp;quot;, largeop = &amp;quot;false&amp;quot;, movablelimits = &amp;quot;false&amp;quot;, accent = &amp;quot;false&amp;quot;, lspace = &amp;quot;0.2222222em&amp;quot;, rspace = &amp;quot;0.2222222em&amp;quot;), Typesetting:-mn(&amp;quot;18.0&amp;quot;, mathvariant = &amp;quot;normal&amp;quot;)), Typesetting:-mn(&amp;quot;10.5&amp;quot;, mathvariant = &amp;quot;normal&amp;quot;)]]" width="113" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -34;" src="/view.aspx?sf=144714/456275/7e6a3110cd65e5bf9a43bb4ac75b15ba.gif" alt="[Matrix(3, 3, {(1, 1) = 12, (1, 2) = 6, (1, 3) = 0, (2, 1) = 6, (2, 2) = 6, (2, 3) = 0, (3, 1) = 0, (3, 2) = 0, (3, 3) = -9.0}), Matrix(3, 3, {(1, 1) = 12, (1, 2) = 18, (1, 3) = 0, (2, 1) = 18, (2, 2) = 12, (2, 3) = 0, (3, 1) = 0, (3, 2) = 0, (3, 3) = -36.0}), Matrix(3, 3, {(1, 1) = 12, (1, 2) = 24, (1, 3) = 0, (2, 1) = 24, (2, 2) = 18, (2, 3) = 0, (3, 1) = 0, (3, 2) = 0, (3, 3) = -45.0})]" width="326" height="79"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(4)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;The gradient is also easy once you have the F.&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;gradientF := unapply(Vector(3,i-&amp;gt;diff(F(x),x[i])),x);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -37;" src="/view.aspx?sf=144714/456275/3c1d81c9cd2937e3fab53156fc5bee03.gif" alt="proc (x) options operator, arrow; rtable(1 .. 3, {1 = 12*x[1]+3*x[2]^2, 2 = 6*x[1]*x[2], 3 = -4.5*x[3]^2}, datatype = anything, subtype = Vector[column], storage = rectangular, order = Fortran_order) end proc" width="546" height="58" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(5)&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;map(gradientF,Points1);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -34;" src="/view.aspx?sf=144714/456275/90a5f372b12ae2c15e0b3b3e51998829.gif" alt="[Vector(3, {(1) = 15, (2) = 6, (3) = -4.5}), Vector(3, {(1) = 51, (2) = 36, (3) = -72.0}), Vector(3, {(1) = 84, (2) = 72, (3) = -112.5})]" width="203" height="79"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(6)&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;&lt;form name="worksheet_form"&gt;&lt;br&gt; &lt;br&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=144714/456275/Hessian_1.mw"&gt;Download Hessian_1.mw&lt;/a&gt;&lt;/p&gt;
&lt;/form&gt;</itunes:summary>
      <description>&lt;p&gt;If you want to use a vector with components it is easy to use the ideas in the attached worksheet.&amp;nbsp; Once you get rid of the component labels life is easy.&lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;restart;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Put in the function.&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;F(x,y,z):= 6*x^2 + 3*x*y^2 - 1.5*z^3;&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=144714/456275/d50e08cd637d4f927420952ea93a1766.gif" alt="6*x^2+3*x*y^2-1.5*z^3" width="205" height="27"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Change the variables to components of a vector w and turn F into a function of a vector or list w.&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;F := unapply(subs({x=w[1],y=w[2],z=w[3]},F(x,y,z)),w);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -11;" src="/view.aspx?sf=144714/456275/b4dccdad094296754f16f3d38e7dad9e.gif" alt="proc (w) options operator, arrow; 6*w[1]^2+3*w[1]*w[2]^2-1.5*w[3]^3 end proc" width="210" height="32"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;Use the standard matrix formula for the Hessian to make the Hessian of F a function of x.&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;HF := unapply(Matrix(3,3,(i,j)-&amp;gt;diff(F(x),x[i],x[j])),x);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -55;" src="/view.aspx?sf=144714/456275/2e6f7ce7341f584ad4831a64fa970c64.gif" alt="proc (x) options operator, arrow; rtable(1 .. 3, 1 .. 3, {(1, 1) = 12, (1, 2) = 6*x[2], (2, 1) = 6*x[2], (2, 2) = 6*x[1], (3, 3) = -9.0*x[3]}, datatype = anything, subtype = Matrix, storage = rectangular, order = Fortran_order) end proc" width="546" height="72" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;One can then simply evaluate F and HF on a list of points or vectors.&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;(You can also do this with a loop.)&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;Points1 := [&amp;lt;1,1,1&amp;gt;,&amp;lt;2,3,4&amp;gt;,&amp;lt;3,4,5&amp;gt;];&lt;br&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;map(F,Points1);&lt;br&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;map(HF,Points1);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -34;" src="/view.aspx?sf=144714/456275/14b772cbb07f0cf9c133c917adae66d5.gif" alt="Points1 := [Vector(3, {(1) = 1, (2) = 1, (3) = 1}), Vector(3, {(1) = 2, (2) = 3, (3) = 4}), Vector(3, {(1) = 3, (2) = 4, (3) = 5})]" width="182" height="79"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=144714/456275/b97337c661c10cd78605addfe1217d63.gif" alt="[[Typesetting:-mn(&amp;quot;7.5&amp;quot;, mathvariant = &amp;quot;normal&amp;quot;), Typesetting:-mrow(Typesetting:-mo(&amp;quot;&amp;amp;uminus0;&amp;quot;, mathvariant = &amp;quot;normal&amp;quot;, fence = &amp;quot;false&amp;quot;, separator = &amp;quot;false&amp;quot;, stretchy = &amp;quot;false&amp;quot;, symmetric = &amp;quot;false&amp;quot;, largeop = &amp;quot;false&amp;quot;, movablelimits = &amp;quot;false&amp;quot;, accent = &amp;quot;false&amp;quot;, lspace = &amp;quot;0.2222222em&amp;quot;, rspace = &amp;quot;0.2222222em&amp;quot;), Typesetting:-mn(&amp;quot;18.0&amp;quot;, mathvariant = &amp;quot;normal&amp;quot;)), Typesetting:-mn(&amp;quot;10.5&amp;quot;, mathvariant = &amp;quot;normal&amp;quot;)]]" width="113" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;&amp;nbsp;&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -34;" src="/view.aspx?sf=144714/456275/7e6a3110cd65e5bf9a43bb4ac75b15ba.gif" alt="[Matrix(3, 3, {(1, 1) = 12, (1, 2) = 6, (1, 3) = 0, (2, 1) = 6, (2, 2) = 6, (2, 3) = 0, (3, 1) = 0, (3, 2) = 0, (3, 3) = -9.0}), Matrix(3, 3, {(1, 1) = 12, (1, 2) = 18, (1, 3) = 0, (2, 1) = 18, (2, 2) = 12, (2, 3) = 0, (3, 1) = 0, (3, 2) = 0, (3, 3) = -36.0}), Matrix(3, 3, {(1, 1) = 12, (1, 2) = 24, (1, 3) = 0, (2, 1) = 24, (2, 2) = 18, (2, 3) = 0, (3, 1) = 0, (3, 2) = 0, (3, 3) = -45.0})]" width="326" height="79"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(4)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #000000; font-size: 100%; font-family: Times New Roman,serif; font-weight: normal; font-style: normal;"&gt;The gradient is also easy once you have the F.&lt;/span&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;gradientF := unapply(Vector(3,i-&amp;gt;diff(F(x),x[i])),x);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -37;" src="/view.aspx?sf=144714/456275/3c1d81c9cd2937e3fab53156fc5bee03.gif" alt="proc (x) options operator, arrow; rtable(1 .. 3, {1 = 12*x[1]+3*x[2]^2, 2 = 6*x[1]*x[2], 3 = -4.5*x[3]^2}, datatype = anything, subtype = Vector[column], storage = rectangular, order = Fortran_order) end proc" width="546" height="58" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(5)&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;map(gradientF,Points1);&lt;/span&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 style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -34;" src="/view.aspx?sf=144714/456275/90a5f372b12ae2c15e0b3b3e51998829.gif" alt="[Vector(3, {(1) = 15, (2) = 6, (3) = -4.5}), Vector(3, {(1) = 51, (2) = 36, (3) = -72.0}), Vector(3, {(1) = 84, (2) = 72, (3) = -112.5})]" width="203" height="79"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(6)&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: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt; &amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;span style="color: #ff0000; font-size: 100%; font-family: Courier New,monospace; font-weight: bold; font-style: normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;&lt;form name="worksheet_form"&gt;&lt;br&gt; &lt;br&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=144714/456275/Hessian_1.mw"&gt;Download Hessian_1.mw&lt;/a&gt;&lt;/p&gt;
&lt;/form&gt;</description>
      <guid>144714</guid>
      <pubDate>Sat, 16 Mar 2013 22:20:23 Z</pubDate>
      <itunes:author>jaytreiman</itunes:author>
      <author>jaytreiman</author>
    </item>
    <item>
      <title>Helpful!</title>
      <link>http://www.mapleprimes.com/questions/144653-Vector-Valued-Functions-In-Maple?ref=Feed:MaplePrimes:Vector valued functions in maple:Comments#comment144679</link>
      <itunes:summary>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. This is helpful but I think I need to understand the 'unapply' command a bit more before I can use it. I did use it in the way you described aboue (although I did not get the 'Example'). I used the unapply command to get a vector valued function but because of the unapply command it can no longer be used for symbolic operations as it becomes merely an operator (I think). For instance if I were to differentiate F within a loop with respect to any other variables, it always returns a zero value.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm working with a system of nonic equations for an optimization problem which requires multiple operations. So far I tried using the unapply feature to obtain an operator for evaluating the function at various points and defined another function for other operations.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any way around this?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. This is helpful but I think I need to understand the 'unapply' command a bit more before I can use it. I did use it in the way you described aboue (although I did not get the 'Example'). I used the unapply command to get a vector valued function but because of the unapply command it can no longer be used for symbolic operations as it becomes merely an operator (I think). For instance if I were to differentiate F within a loop with respect to any other variables, it always returns a zero value.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm working with a system of nonic equations for an optimization problem which requires multiple operations. So far I tried using the unapply feature to obtain an operator for evaluating the function at various points and defined another function for other operations.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any way around this?&lt;/p&gt;</description>
      <guid>144679</guid>
      <pubDate>Sat, 16 Mar 2013 06:23:01 Z</pubDate>
      <itunes:author>marwaha</itunes:author>
      <author>marwaha</author>
    </item>
  </channel>
</rss>