First of all, I don't have a concrete example for this, but I hope it's not too hard to understand what I'm trying to get at.
For a multivariable function of, say, 2 variables x and y, the gradient at a point only depends on the existence of partial x and partial y, right? In other words, if...