The closed-form analytical solution for the entropy of a variable X that follows the t-distribution, derived here, is
Seeing that python has functions scipy.special.digamma and scipy.special.beta, how can the above formula be implemented in code?
What confuses me is that the functions just mentioned do not take the degrees of freedom parameter nu (v) as an input according to the documentation. A running example would help



You can also use the differential entropy of multivariate student t-distribution, where, dim is dimensional, dof is degree of freedom and cmtx is covariance.