  cumprod
  Builtin Function



      SSyynnooppssiiss
        Cumulative product.

      SSyynnttaaxx
        cumprod ( _A )

      DDeessccrriippttiioonn
        cumprod computes the running, or cumulative product of the
        input, _A. If the input is a rectangular matrix, then the
        cumulative product is performed over the columns of the matrix.

        Example:



          > a=1:4
           a =
                  1          2          3          4
          > cumprod (a)
                  1          2          6         24
          > a = [1,2,3;4,5,6;7,8,9]
           a =
                  1          2          3
                  4          5          6
                  7          8          9
          > cumprod (a)
                  1          2          3
                  4         10         18
                 28         80        162





     SSeeee AAllssoo
        cumsum, prod, sum

























