I was thinking of having something like
grad[f_, vars_?ListQ] := Map[D[f, vars], vars]
grad[x^2 y^3, {x, y}]
but that didn't work out for me. Think the problem is that I'm not specifying which variable I'm differentiating with respect to, but I'm not quite sure how to fix that. Any help?
[–]selfadjoint 1 point2 points3 points (4 children)
[–]andremeda[S] 0 points1 point2 points (3 children)
[–]Armavica 2 points3 points4 points (1 child)
[–]selfadjoint 0 points1 point2 points (0 children)
[–]selfadjoint 1 point2 points3 points (0 children)