I want to write a function which computes the joint en- tropy of two generic discrete random variables given their joint p.d.f.. Is this a legitimate way of doing so?
<