% -*- texinfo -*- % @deftypefn {Function File} {@var{y} =} gradprod (@var{x}) % @deftypefnx {Function File} {@var{y} =} gradprod (@var{x}, @var{dim}) % overloads built-in function @code{prod} for a gradient @var{x} % @end deftypefn % @seealso{prod}