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