What non-differentiable functions have subgradient?

716 Views Asked by At

In general, what non-differentiable functions have subgradient? Which non-differentiable functions do not have subgradient?

Does a function have to be convex for subgradient to be defined for that? How about $$f(x) = \sqrt{|x|}?$$