DistributionFunctions2(R1, R2)ΒΆ

distro.spad line 1122 [edit on github]

A package to map distributions between different rings.

coerce: Distribution R1 -> Distribution R2

coerce(x) coerces a distribution from the ring R1 to R2.

mapall: (R1 -> R2, Distribution R1) -> Distribution R2

map(f, x) maps the moments and cumulants from the ring R1 to R2.

R1_to_R2_coercion: R1 -> R2

R1_to_R2_coercion should be local but conditional