distro.spad line 1122 [edit on github]
A package to map distributions between different rings.
R1_to_R2_coercion should be local but conditional
coerce(x) coerces a distribution from the ring R1 to R2.
map(f, x) maps the moments and cumulants from the ring R1 to R2.