Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

RE: PatternMatching with Dt[]

  • To: mathgroup at
  • Subject: [mg37291] RE: [mg37264] PatternMatching with Dt[]
  • From: "Wolf, Hartmut" <Hartmut.Wolf at>
  • Date: Tue, 22 Oct 2002 04:47:11 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

>-----Original Message-----
>From: Johannes Ludsteck
To: mathgroup at
>[mailto:johannes.ludsteck at]
>Sent: Monday, October 21, 2002 8:29 AM
>To: mathgroup at
>Subject: [mg37291] [mg37264] PatternMatching with Dt[]
>I would like to replace Dt[x_] in a complex 
>expression. For example consider
>where x is a pure Symbol (has no value).
>However, Mathematica refuses apply the rule.
>Various other attempts, for example 
>and HoldForm[...] were unsuccessful.
>I managed to  circumvent the problem by
>However, I were more happy if I understood why the 
>first attempt was not successful.
>Can someone explain?
>Best regards,
>	Johannes Ludsteck


Dt[x] /. HoldPattern[Dt[arg_]] -> f[arg]



Dt[arg]*Derivative[1, 0][Pattern][arg, _]

....the total derivative of arg_ !


  • Prev by Date: RE: PatternMatching with Dt[]
  • Next by Date: Re: PatternMatching with Dt[]
  • Previous by thread: RE: PatternMatching with Dt[]
  • Next by thread: Re: PatternMatching with Dt[]