Home > Objects > @iData > cumprod.m

iFit/cumprod

PURPOSE ^

s = cumprod(a,dim) : computes the cumulative product of iData objects elements

SYNOPSIS ^

function [b,sigma] = cumprod(a,dim)

DESCRIPTION ^

 s = cumprod(a,dim) : computes the cumulative product of iData objects elements

   @iData/cumprod function to compute the cumulative product of the elements of the data set
     cumprod(a,dim) operates along axis of rank dim.

 input:  a: object or array (iData)
         dim: dimension to accumulate (int)
 output: s: accumulated product of elements (iData)
 ex:     c=cumprod(a);

 Version: Mar. 22, 2017
 See also iData, iData/plus, iData/sum, iData/prod, iData/cumprod

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1