U
    9%e                     @   s  d dl mZ d dlmZ d dlmZmZmZmZm	Z	m
Z
mZmZmZmZ d dlmZmZmZ d dlmZmZ zd dlZW n ek
r   edZY nX edd	 Zeeed
ddZeeed
ddZeeed
ddZeeed
ddZee	e	d
ddZee
e
d
ddZeeed
ddZeeed
ddZeeed
ddZeeed
ddZeeed
ddZeeed
ddZeeed
ddZeeed
ddZeeed
ddZdS )    )singledispatch)import_module)
BetaDistributionCauchyDistributionChiSquaredDistributionExponentialDistributionGammaDistributionLogNormalDistributionNormalDistributionParetoDistributionUniformDistributionGaussianInverseDistribution)PoissonDistributionGeometricDistributionNegativeBinomialDistribution)BinomialDistributionBernoulliDistributionNZpymc3c                 C   s   d S )N distr   r   _/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/sympy/stats/sampling/sample_pymc.pydo_sample_pymc   s    r   r   c                 C   s   t jdt| jt| jdS NXalphabeta)pymcBetafloatr   r   r   r   r   r   _   s    r    c                 C   s   t jdt| jt| jdS r   )r   ZCauchyr   Zx0gammar   r   r   r   r       s    c                 C   s   t jdt| jdS )Nr   )nu)r   Z
ChiSquaredr   kr   r   r   r   r        s    c                 C   s   t jdt| jdS )Nr   )lam)r   ZExponentialr   Zrater   r   r   r   r    %   s    c                 C   s    t jdt| jdt| j dS )Nr      r   )r   Gammar   r#   thetar   r   r   r   r    *   s    c                 C   s   t jdt| jt| jdS )Nr   )musigma)r   Z	Lognormalr   meanstdr   r   r   r   r    /   s    c                 C   s   t dt| jt| jS )Nr   )r   ZNormalr   r*   r+   r   r   r   r   r    4   s    c                 C   s   t jdt| jt| jdS )Nr   )r(   r$   )r   ZWaldr   r*   shaper   r   r   r   r    9   s    c                 C   s   t jdt| jt| jdS )Nr   )r   m)r   ZParetor   r   Zxmr   r   r   r   r    >   s    c                 C   s   t jdt| jt| jdS )Nr   )lowerupper)r   ZUniformr   leftrightr   r   r   r   r    C   s    c                 C   s   t jdt| jdS Nr   )p)r   Z	Geometricr   r3   r   r   r   r   r    J   s    c                 C   s,   t jdt| j| j d| j  t| jdS )Nr   r%   )r(   r   )r   ZNegativeBinomialr   r3   rr   r   r   r   r    O   s    c                 C   s   t jdt| jdS )Nr   )r(   )r   ZPoissonr   Zlamdar   r   r   r   r    U   s    c                 C   s   t jdt| jdS r2   )r   Z	Bernoullir   r3   r   r   r   r   r    \   s    c                 C   s   t jdt| jt| jdS )Nr   )nr3   )r   ZBinomialintr5   r   r3   r   r   r   r   r    a   s    )	functoolsr   Zsympy.externalr   Zsympy.stats.crv_typesr   r   r   r   r   r	   r
   r   r   r   Zsympy.stats.drv_typesr   r   r   Zsympy.stats.frv_typesr   r   r   ImportErrorr   registerr    r   r   r   r   <module>   sP   0
