K i:ddlmZddlmZmZmZGddeZy))Basic)PSpace_symbol_converterRandomMatrixSymbolc.eZdZdZddZedZdZy)RandomMatrixPSpacez Represents probability space for random matrices. It contains the mechanics for handling the API calls for random matrices. Ncvt|}|rtj|||Stj||SN)rr__new__)clssymmodels _/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/sympy/stats/random_matrix.pyr zRandomMatrixPSpace.__new__ s3$ ==c51 1==c* *c@ |jdS#t$rYywxYw)N)args IndexError)selfs rrzRandomMatrixPSpace.models' 99Q<   s  c|jt}t|dkDst|ts t d|j j |S)NzoCurrently, no algorithm has been implemented to handle general expressions containing multiple random matrices.)atomsrlen isinstanceNotImplementedErrorrdensity)rexprrrmss rcompute_densityz"RandomMatrixPSpace.compute_densitysOjj+, s8a< 41C D%'01 1zz!!$''rr )__name__ __module__ __qualname____doc__r propertyrrrrrrs% + (rrN)sympy.core.basicrsympy.stats.rvrrrrr%rrr(s"HH((r