cum_prod()
Returns the cumulative product
Syntax
y = cum_prod(x)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| x | data to find cumulative product | (∞, ∞) | integer, real or complex | yes |
Examples
y = cum_prod(1)
returns 1.000
y = cum_prod([1, 2, 3])
returns [1.000, 2.000, 6.000]
y = cum_prod([i, i])
returns [i, i 2 ]
Defined in
Built in
See Also
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()