msoeken / kitty

C++ truth table library
MIT License
50 stars 77 forks source link

statistics #128

Closed costamag closed 2 years ago

costamag commented 2 years ago

The header file statistics.hpp can be used to treat n-dimensional vectors of truth tables as samplings of n-dimensional Boolean random variables. Given 1 or 2 vectors of truth tables, it allows to compute the following quantities:

  1. probabilities;
  2. entropy;
  3. mutual information. More details are given in the documentation.