<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, replacement for OP command</title>
    <link>http://www.mapleprimes.com/questions/144804-Replacement-For-OP-Command</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 11 Jun 2026 05:17:49 GMT</lastBuildDate>
    <pubDate>Thu, 11 Jun 2026 05:17:49 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, replacement for OP command</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, replacement for OP command</title>
      <link>http://www.mapleprimes.com/questions/144804-Replacement-For-OP-Command</link>
    </image>
    <item>
      <title>selectremove</title>
      <link>http://www.mapleprimes.com/questions/144804-Replacement-For-OP-Command?ref=Feed:MaplePrimes:replacement for OP command:Comments#answer144805</link>
      <itunes:summary>&lt;p&gt;Would this do it:&lt;/p&gt;
&lt;p&gt;S,R:=selectremove(has,eq2,phi[i](y)*diff(w(y),y));&lt;br&gt;Parts(S,phi[i](y));&lt;br&gt;eq3:=R+%;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Would this do it:&lt;/p&gt;
&lt;p&gt;S,R:=selectremove(has,eq2,phi[i](y)*diff(w(y),y));&lt;br&gt;Parts(S,phi[i](y));&lt;br&gt;eq3:=R+%;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>144805</guid>
      <pubDate>Tue, 19 Mar 2013 21:18:27 Z</pubDate>
      <itunes:author>Preben Alsholm</itunes:author>
      <author>Preben Alsholm</author>
    </item>
    <item>
      <title>subsindets and collect</title>
      <link>http://www.mapleprimes.com/questions/144804-Replacement-For-OP-Command?ref=Feed:MaplePrimes:replacement for OP command:Comments#answer144806</link>
      <itunes:summary>&lt;p&gt;The command that you want is &lt;strong&gt;subsindets&lt;/strong&gt; (or possibly &lt;strong&gt;evalindets&lt;/strong&gt;). Here's an appropriate analogy: &lt;em&gt;&lt;strong&gt;subsindets&lt;/strong&gt; is to &lt;strong&gt;indets&lt;/strong&gt; as &lt;strong&gt;applyop&lt;/strong&gt; is to &lt;strong&gt;op&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;I think you should collect like terms with respect to the integrals, like this&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;collect(eq2, Int);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;so that each specific integrand only occurs once.&lt;/p&gt;
&lt;p&gt;Tell me exactly which integrands you are trying to select. You said "like" &lt;strong&gt;phi[i](y)*diff(w(y), y)&lt;/strong&gt;. Do you mean exactly that integrand? Or would &lt;strong&gt;phi[i](y)*diff(w(y), y)^2 &lt;/strong&gt;also count as "like"?&lt;/p&gt;
&lt;p&gt;Once you answer that, I can give you a type specification that you can use with &lt;strong&gt;subsindets&lt;/strong&gt;.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;The command that you want is &lt;strong&gt;subsindets&lt;/strong&gt; (or possibly &lt;strong&gt;evalindets&lt;/strong&gt;). Here's an appropriate analogy: &lt;em&gt;&lt;strong&gt;subsindets&lt;/strong&gt; is to &lt;strong&gt;indets&lt;/strong&gt; as &lt;strong&gt;applyop&lt;/strong&gt; is to &lt;strong&gt;op&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;I think you should collect like terms with respect to the integrals, like this&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;collect(eq2, Int);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;so that each specific integrand only occurs once.&lt;/p&gt;
&lt;p&gt;Tell me exactly which integrands you are trying to select. You said "like" &lt;strong&gt;phi[i](y)*diff(w(y), y)&lt;/strong&gt;. Do you mean exactly that integrand? Or would &lt;strong&gt;phi[i](y)*diff(w(y), y)^2 &lt;/strong&gt;also count as "like"?&lt;/p&gt;
&lt;p&gt;Once you answer that, I can give you a type specification that you can use with &lt;strong&gt;subsindets&lt;/strong&gt;.&lt;/p&gt;</description>
      <guid>144806</guid>
      <pubDate>Tue, 19 Mar 2013 21:19:15 Z</pubDate>
      <itunes:author>Carl Love</itunes:author>
      <author>Carl Love</author>
    </item>
    <item>
      <title>Thanks for responding!!</title>
      <link>http://www.mapleprimes.com/questions/144804-Replacement-For-OP-Command?ref=Feed:MaplePrimes:replacement for OP command:Comments#comment144809</link>
      <itunes:summary>&lt;p&gt;Thankyou very much for your time!!&lt;/p&gt;
&lt;p&gt;Yes this solves my problem and it is more general than my previous solution&lt;/p&gt;
&lt;p&gt;But for larger number of integrable integrals in equation, its is really tedious to type each different form of integrand.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thankyou very much for your time!!&lt;/p&gt;
&lt;p&gt;Yes this solves my problem and it is more general than my previous solution&lt;/p&gt;
&lt;p&gt;But for larger number of integrable integrals in equation, its is really tedious to type each different form of integrand.&lt;/p&gt;</description>
      <guid>144809</guid>
      <pubDate>Tue, 19 Mar 2013 22:03:53 Z</pubDate>
      <itunes:author>sakhan</itunes:author>
      <author>sakhan</author>
    </item>
    <item>
      <title>Yes but it would be really great if the command could handle other problems</title>
      <link>http://www.mapleprimes.com/questions/144804-Replacement-For-OP-Command?ref=Feed:MaplePrimes:replacement for OP command:Comments#comment144808</link>
      <itunes:summary>&lt;p&gt;Thanks for responding!&lt;/p&gt;
&lt;p&gt;No. I dont need the term you mentioned.&lt;/p&gt;
&lt;p&gt;In general I only need terms which are linear power( &lt;strong&gt;caution&lt;/strong&gt; not degree)&lt;/p&gt;
&lt;p&gt;For example I do like integration of terms like like:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. phi[i](y)*diff(w(y), y) &amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;strong&gt;2.phi[i](y)*diff(w(y), y$2)&lt;br&gt;&lt;br&gt;&lt;/strong&gt;&lt;/strong&gt;In general I need terms like&amp;nbsp;&lt;br&gt;&lt;br&gt;&lt;strong&gt;3. diff( phi[i](y), y$m) *diff(w(y), y$ k)&lt;/strong&gt;&amp;nbsp;; where m &amp;lt; k ( but this is not required in this problem, In this specific problem I require integration for terms like term 1 and term2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;integration of terms like&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;phi[i](y)*diff(w(y), y)^2&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;phi[i](y)*diff(w(y), y)^k&amp;nbsp;&lt;br&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;diff( phi[i](y), y$2)*diff(w(y), y$n)^k&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;should be avioded&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks for responding!&lt;/p&gt;
&lt;p&gt;No. I dont need the term you mentioned.&lt;/p&gt;
&lt;p&gt;In general I only need terms which are linear power( &lt;strong&gt;caution&lt;/strong&gt; not degree)&lt;/p&gt;
&lt;p&gt;For example I do like integration of terms like like:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. phi[i](y)*diff(w(y), y) &amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;strong&gt;2.phi[i](y)*diff(w(y), y$2)&lt;br&gt;&lt;br&gt;&lt;/strong&gt;&lt;/strong&gt;In general I need terms like&amp;nbsp;&lt;br&gt;&lt;br&gt;&lt;strong&gt;3. diff( phi[i](y), y$m) *diff(w(y), y$ k)&lt;/strong&gt;&amp;nbsp;; where m &amp;lt; k ( but this is not required in this problem, In this specific problem I require integration for terms like term 1 and term2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;integration of terms like&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;phi[i](y)*diff(w(y), y)^2&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;phi[i](y)*diff(w(y), y)^k&amp;nbsp;&lt;br&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;diff( phi[i](y), y$2)*diff(w(y), y$n)^k&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;should be avioded&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;</description>
      <guid>144808</guid>
      <pubDate>Tue, 19 Mar 2013 21:55:33 Z</pubDate>
      <itunes:author>sakhan</itunes:author>
      <author>sakhan</author>
    </item>
  </channel>
</rss>