Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
344 B · 11 lines
at develop
1234567891011% testing the poisson distribution for both float and integer meansvar int: x;var int: y;int: myInt1 = poisson(7); % poisson distribution with int meanint: myInt2;myInt2 = poisson(2.2); % poisson distribution with float meanconstraint x + y < myInt1;constraint x + y > myInt2;solve satisfy;output ["x = ", show(x), "\ny = ", show(y)];