DistributionFunctions2(R1, R2)ΒΆ
distro.spad line 1122 [edit on github]
R1: CommutativeRing
R2: CommutativeRing
A package to map distributions between different rings.
- coerce: Distribution R1 -> Distribution R2
coerce(x)
coerces a distribution from the ringR1
toR2
.
- mapall: (R1 -> R2, Distribution R1) -> Distribution R2
map(f, x)
maps the moments and cumulants from the ringR1
toR2
.
- R1_to_R2_coercion: R1 -> R2
R1_to_R2_coercion should
be local but conditional