Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: pattern matching against the Dt function?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85287] Re: pattern matching against the Dt function?
  • From: Grischika at mail.ru
  • Date: Tue, 5 Feb 2008 06:07:18 -0500 (EST)
  • References: <fo6h46$r20$1@smc.vnet.net>

Hello!
Just use HoldPattern like this:

In[]:= {f[a], Dt[b]} /. HoldPattern[Dt[n_]]->n
Out[]= {f[a], b}


  • Prev by Date: Re: pattern matching against the Dt function?
  • Next by Date: Re: pattern matching against the Dt function?
  • Previous by thread: Re: pattern matching against the Dt function?
  • Next by thread: Re: pattern matching against the Dt function?