Skip to main content
4 events
when toggle format what by license comment
Apr 23, 2020 at 22:40 comment added rarelyNecessary @JimB Thanks! It looks like the slowness was because I was using CategoricalDistribution in my code where BernoulliDistribution was just as useful and also faster.
Apr 23, 2020 at 22:38 vote accept rarelyNecessary
Apr 1, 2020 at 15:00 comment added JimB RandomVariate[BetaDistribution[#, b], 1][[1]] & /@ Range[100] is about 6 times faster (although neither approach seems slow).
Apr 1, 2020 at 8:19 history answered rarelyNecessary CC BY-SA 4.0