Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: look at this problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74074] Re: look at this problem
  • From: "Jean-Marc Gulliet" <jeanmarc.gulliet at gmail.com>
  • Date: Thu, 8 Mar 2007 04:42:53 -0500 (EST)
  • References: <beee65f50703051217g5ea4a723s46c0d7ecca6a0176@mail.gmail.com>

On 3/5/07, Nabeel Butt <nabeel.butt at gmail.com> wrote:
>
> Dear Mr Jean-Marc,
>          I want to determine the order of a differential expression for
> which i try to do:
>
> \!\(Plus[D[f[x, y, z], x] /. \(_\^\((x___)\)\)[___] -> x]\)
>       But this does not work.Any suggestions to my above code.
>         regards,
>           Nabeel

Hi Nabeel,

Look at the FullForm of the expression to see what pattern(s) really
match what you are looking for. For instance,

In[1]:=
FullForm[D[f[x, y, z], x]]

Out[1]//FullForm=
FullForm[Derivative[1, 0, 0][f][x, y, z]]

In[2]:=
D[f[x, y, z], x] /. Derivative[x_, ___][_][___] -> x

Out[2]=
1

HTH,
Jean-Marc

P.S. I have cross-posted your query to MathGroup.


  • Prev by Date: Re: Simplifying {0,0,0}.X.{0,0,0}
  • Next by Date: Re: How can I automate this problem in a mathematica notebook?
  • Previous by thread: Re: Multi-core Support in Mathematica 5.2
  • Next by thread: Factorizing...