Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.7K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Using ReplaceAll with Dt[ ]?

Posted 4 years ago
POSTED BY: Lucien Grondin
2 Replies

The problem is that the rule gets evaluated before replacement. To prevent evaluation you can use HoldPattern:

Dt[x] /. HoldPattern[Dt[h_]] :> h
POSTED BY: Gianluca Gorni
POSTED BY: Lucien Grondin
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard