a
    Qe                     @   sL   d dl Zd dlmZmZ d dlmZmZmZm	Z	 dd Z
dd Zdd	 ZdS )
    N)assert_allcloseassert_equal)stdtrstdtritndtrndtric                  C   sH   dddt jg} d}t| |}g d}t||dd t|d td d S )	N    _B   mB*4Xg      ?)g)K?g: K?g| K?g} K?gV瞯<Zrtol   )npinfr   r   r   r   )dftresres_R r   \/var/www/sunrise/env/lib/python3.9/site-packages/scipy/special/tests/test_cdft_asymptotic.pytest_stdtr_vs_R_large_df	   s    
r   c                  C   sH   dddt jg} d}t| |}g d}t||dd t|d td d S )	Nr   r	   r
   g?)g>6<g|6<4m6<r   gV瞯<r   r   )r   r   r   r   r   r   )r   pr   r   r   r   r   test_stdtrit_vs_R_large_df   s    
r   c                  C   sL   dddt jg} t j}t| |}t| |}dt jg }t|| t|| d S )Nr   r	   r
      )r   r   nanr   r   r   )r   xZres1Zres2Zres_exr   r   r   test_stdtr_stdtri_invalid)   s    


r   )numpyr   Znumpy.testingr   r   Zscipy.specialr   r   r   r   r   r   r   r   r   r   r   <module>   s
   