RubyGems Navigation menu

cathy 0.1.0

Cathy lets you model an updatable weighted probability distribution which you can draw from. For example, suppose you want to randomly pull cards from a deck which consists only of aces, jacks, queens, and kings, with twice as many jacks as aces, twice as many queens as jacks, and twice as many kings as queens. Cathy will model this for you. And you can change the frequency of each card on the fly.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.0 - October 01, 2022 (11.5 KB)

Owners:

Pushed by:

Authors:

  • David F. Houghton

SHA 256 checksum:

dc3adce78bba03052d440277febd30a27d91f897cb7c72edee21ced8314d4e64

Total downloads 681

For this version 681

License:

MIT

Required Ruby Version: >= 2.6.0

Links: