
    'YHh                     <    d dl mZ d dlZd dlmZ d dlmZ d Zd Z	y)    )linalgN)assert_allclose)toeplitzc                  t   t         j                  j                  d      } t         j                  j                  d      }t        j                  t         j                  d   |f      }t        |      }t         j                  j                  ||       }t        j                  ||       }t        ||dd       y )N
   size	      h㈵>rtolatol
nprandomuniformconcatenater_r   r   solvestationary_solver   brttmatsolnsoln1s         \/var/www/html/planif/env/lib/python3.12/site-packages/statsmodels/tools/tests/test_linalg.pytest_stationary_solve_1dr       s    
		r"A
		q!A
a!}%AA;D99??4#D##Aq)ED%d6    c                  t   t         j                  j                  d      } t         j                  j                  d      }t        j                  t         j                  d   |f      }t        |      }t         j                  j                  ||       }t        j                  ||       }t        ||dd       y )N)r      r   r
   r   r   r   r   r   s         r   test_stationary_solve_2dr$      s    
		w'A
		q!A
a!}%AA;D99??4#D##Aq)ED%d6r!   )
statsmodels.toolsr   numpyr   numpy.testingr   scipy.linalgr   r    r$    r!   r   <module>r*      s    $  ) !77r!   