tesserahub/sympy — comment on commit dd86ef42b3fb283084d41da4cf7b608c6ecb3eed
File: sympy/stats/crv.py line 244
By tesserahub:

For me, it seems like density should be a function: with discrete X, we can take Density(X)[2], so likewise for continuous X, we'd have Density(X)(2). How I think it should look:

>>> x = Symbol('x', positive=True)
>>> X = Exponential(10)
>>> f = Density(X)
>>> f(x)
10 * exp(-10*x)

I'm not sure how multivariate stats works exactly. Can you give me some examples? My guess would be that it would return a function of multiple variables.