4 edited tags | link edited Jul 4 '12 at 14:50 Jens 88.8k66 gold badges176176 silver badges408408 bronze badges 3 deleted 100 characters in body edited Jul 4 '12 at 14:47 halirutan♦ 98.4k66 gold badges231231 silver badges427427 bronze badges I can extract the parameters of a single variable derivative with the rule D[f[x], x] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces {1, f, x}  How do I generalize this to the multivariate case? For example, D[f[x, y], x, y] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces \!$$\*SuperscriptBox[\(f$$, \* TagBox[ RowBox[{"(", RowBox[{"1", ",", "1"}], ")"}], Derivative], MultilineFunction->None]\)[x, y]  The match didn't work -- but I can't seem to reproduce the actual Mathematica display. I'm sure there's some magic syntax that will accomplish the match. I tried a few variations to no avail. Can anyone help? Thanks much. I can extract the parameters of a single variable derivative with the rule D[f[x], x] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces {1, f, x}  How do I generalize this to the multivariate case? For example, D[f[x, y], x, y] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces \!$$\*SuperscriptBox[\(f$$, \* TagBox[ RowBox[{"(", RowBox[{"1", ",", "1"}], ")"}], Derivative], MultilineFunction->None]\)[x, y]  The match didn't work -- but I can't seem to reproduce the actual Mathematica display. I'm sure there's some magic syntax that will accomplish the match. I tried a few variations to no avail. Can anyone help? Thanks much. I can extract the parameters of a single variable derivative with the rule D[f[x], x] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces {1, f, x}  How do I generalize this to the multivariate case? For example, D[f[x, y], x, y] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces The match didn't work -- but I can't seem to reproduce the actual Mathematica display. I'm sure there's some magic syntax that will accomplish the match. I tried a few variations to no avail. Can anyone help? Thanks much. 2 added 44 characters in body edited Jul 4 '12 at 14:41 halirutan♦ 98.4k66 gold badges231231 silver badges427427 bronze badges I can extract the parameters of a single variable derivative with the rule D[f[x], x] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}D[f[x], x] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces {1, f, x}{1, f, x}  How do I generalize this to the multivariate case? For example, D[f[x, y], x, y] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}D[f[x, y], x, y] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces !(*SuperscriptBox[(f), * TagBox[ RowBox[{"(", RowBox[{"1", ",", "1"}], ")"}], Derivative], MultilineFunction->None])[x, y]\!$$\*SuperscriptBox[\(f$$, \* TagBox[ RowBox[{"(", RowBox[{"1", ",", "1"}], ")"}], Derivative], MultilineFunction->None]\)[x, y]  The match didn't work -- but I can't seem to reproduce the actual Mathematica display. I'm sure there's some magic syntax that will accomplish the match. I tried a few variations to no avail. Can anyone help? Thanks much. I can extract the parameters of a single variable derivative with the rule D[f[x], x] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable} produces {1, f, x} How do I generalize this to the multivariate case? For example, D[f[x, y], x, y] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable} produces !(*SuperscriptBox[(f), * TagBox[ RowBox[{"(", RowBox[{"1", ",", "1"}], ")"}], Derivative], MultilineFunction->None])[x, y] The match didn't work -- but I can't seem to reproduce the actual Mathematica display. I'm sure there's some magic syntax that will accomplish the match. I tried a few variations to no avail. Can anyone help? Thanks much. I can extract the parameters of a single variable derivative with the rule D[f[x], x] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces {1, f, x}  How do I generalize this to the multivariate case? For example, D[f[x, y], x, y] /. Derivative[order_][fcn_][variable_] -> {order, fcn, variable}  produces \!$$\*SuperscriptBox[\(f$$, \* TagBox[ RowBox[{"(", RowBox[{"1", ",", "1"}], ")"}], Derivative], MultilineFunction->None]\)[x, y]  The match didn't work -- but I can't seem to reproduce the actual Mathematica display. I'm sure there's some magic syntax that will accomplish the match. I tried a few variations to no avail. Can anyone help? Thanks much. 1 asked Jul 4 '12 at 14:34 Tom Gladd 48622 silver badges55 bronze badges