Pattern matching partial derivatives
- To: mathgroup at smc.vnet.net
- Subject: [mg52372] Pattern matching partial derivatives
- From: Nicolas Girard <nicolas.girard at strasbourg.fr>
- Date: Thu, 25 Nov 2004 05:49:43 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi all,
I can't get finding patterns that would match a simple partial derivative:
Input:
?f
?x
D[f, x, NonConstants -> {f}] // FullForm
Output:
Global`f
Global`x
D[f, x, Rule[NonConstants, List[f]]]
Input:
MatchQ[
D[f, x, Rule[NonConstants, List[f]]],
D[f_, x_, Rule[NonConstants, nc_]]
]
Output:
False
Am I damned ?
Many thanks in advance !
Cheers,
Nicolas