Given a random matrix x, compute the density
for arguments shape1 and shape2
dmbeta2(x, shape1, shape2, log = TRUE)a vector of length n
cube of dimension d by d by n containing the random matrix samples
positive shape parameter, strictly larger than \((d-1)/2\).
positive shape parameter, strictly larger than \((d-1)/2\).
[logical] if TRUE (default), returns the log density.