MathGroup Archive 2002

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

Search the Archive

RE: PatternMatching with Dt[]

  • To: mathgroup at
  • Subject: [mg37301] RE: [mg37264] PatternMatching with Dt[]
  • From: "DrBob" <drbob at>
  • Date: Tue, 22 Oct 2002 04:47:43 -0400 (EDT)
  • Reply-to: <drbob at>
  • Sender: owner-wri-mathgroup at

This works:

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

The problem apparently is this:

Out[7]=Dt[x]*Derivative[1, 0][Pattern][x, _]

That seems odd to me, and I'm not sure why Unevaluated doesn't help.


-----Original Message-----
From: Johannes Ludsteck
To: mathgroup at
[mailto:johannes.ludsteck at] 
Subject: [mg37301] [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
Johannes Ludsteck
Economics Department
University of Regensburg
Universitaetsstrasse 31
93053 Regensburg
Phone +49/0941/943-2741

  • Prev by Date: Re: PatternMatching with Dt[]
  • Next by Date: Re: Poincare sections
  • Previous by thread: Re: PatternMatching with Dt[]
  • Next by thread: Crash problems with 4.2 FrontEnd