Question: VectorCalculus:-DirectionalDiff problem

I was setting up a worksheet for my vactor calculus class and tried to show how the DifferentialDiff command from the VectorCalculus package was limited.  I was expecting to have it give undefined or something similar for all directions with the function I am using.  Unfortunately, I got 0 when the directional derivative is truly undefined and I got undefined when the directional derivative is 0.

This is the code I am using.  Unfortunately, this site will not take the worksheet or plot the function for me.
 

with(VectorCalculus):
s := min(abs(x),abs(y));
plot3d(s,x=-1..1,y=-1..1);
DirectionalDiff(min(abs(x),abs(y)),<-1,1>,[x,y],point=<0,0>);

 

 

Please Wait...