Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
356 B · 11 lines
at develop
1234567891011% testing gamma distribution for float and int aplhavar float: x;var float: y;float: myFloat1 = gamma(10, 1.0); % gamma distribution with integer alphafloat: myFloat2;myFloat2 = gamma(5.0, 0.5); % gamma distribution with float alphaconstraint x + y < myFloat1;constraint x + y > myFloat2;solve satisfy;output ["x = ", show(x), "\ny = ", show(y)];