isLocalMinD is a function. ind = isLocalMinD(v, x, res, varargin)
ind = isLocalMinD(v,x,res,varargin)