Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'pattern matching' topicStudent Support Forum > General > Archives > "pattern matching"

Next Comment >Help | Reply To Topic
Author Comment/Response
08/30/04 04:19am

Why is it that the following commands evaluate to false and true, respectively?
MatchQ[Dt[tree, t], Dt[Pattern[state, Blank[]], t]]
MatchQ[D[tree, t], D[Pattern[state, Blank[]], t]]

I was trying to make a replacement rule to transform some state variable derivatives I had taken with Dt into partial derivatives of the form state'[t] so they could be used in the equations I'm feeding to NDSolve.

Thank you for your time,

URL: ,

Subject (listing for 'pattern matching')
Author Date Posted
pattern matching Chris 08/30/04 04:19am
Re: pattern matching Forum Modera... 09/08/04 1:23pm
Re: pattern matching Chris Chiasson 09/08/04 3:30pm
Re: pattern matching Forum Modera... 09/14/04 5:36pm
Next Comment >Help | Reply To Topic