def cumprod(a, axis=None, dtype=None): '''Cumulative product of input''' dtype = _translatenativetype(dtype) if dtype is not None: a = a.cast(_translatenativetype(dtype).value) if axis is None: return _stats.cumulativeProduct(a) else: return _stats.cumulativeProduct(a, _jint(axis))
def cumprod(a, axis=None): '''Cumulative product of input''' if axis is None: return _stats.cumulativeProduct(a) else: return _stats.cumulativeProduct(a, axis)