dr2r
dr2r(
@dr ? ## list (required)
@st 1
) -> list
Takes a list of ratios and an optional starting value, and returns the cumulative multiplication between adjacent elements, as a list. Inverse of r2dr
.
Arguments
@dr ?
[list]: list of ratios. (required)@st
[int/float]: starting value (default:1
).
Output
cumulative multiplication between adjacent elements. [list]