ó
    Bpˆjc  ã                   óP   • S SK Jr  S SKJr  S SKJr   " S S5      r " S S5      rg)	é    )Úassert_allclose)Úcython_lapack)Úlapackc                   ó&   • \ rS rSrS rS rS rSrg)Ú	TestLamché   c                 óŽ   • [         R                  " SSSS9nS H)  n[        [        R                  " U5      U" U5      5        M+     g )NÚlamchÚfloat32Ú	preferred©ÚdtypeÚilp64©
ó   eó   só   bó   pó   nó   ró   mó   uó   ló   o)r   Úget_lapack_funcsr   r   Ú_test_slamch)ÚselfÚlapack_slamchÚcs      Úa/var/www/html/pdf-tiff/venv/lib/python3.13/site-packages/scipy/linalg/tests/test_cython_lapack.pyÚtest_slamchÚTestLamch.test_slamch   sD   € Ü×/Ò/Ø˜9¨Kñ
ˆó NˆAÜœM×6Ò6°qÓ9Ù)¨!Ó,ö.ò Nó    c                 óŽ   • [         R                  " SSSS9nS H)  n[        [        R                  " U5      U" U5      5        M+     g )Nr
   Úfloat64r   r   r   )r   r   r   r   Ú_test_dlamch)r   Úlapack_dlamchr   s      r    Útest_dlamchÚTestLamch.test_dlamch   sD   € Ü×/Ò/Ø˜9¨Kñ
ˆó NˆAÜœM×6Ò6°qÓ9Ù)¨!Ó,ö.ò Nr#   c                 óŒ   • SnSn[        [        R                  " X!5      S5        [        [        R                  " X!5      S5        g )Ny      à?      ð?y      ì?       @y333333ÿ?š™™™™™¹?)r   r   Ú_test_zladivÚ_test_cladiv)r   ÚcxÚcys      r    Útest_complex_ladivÚTestLamch.test_complex_ladiv   s6   € ØˆØˆÜœ×2Ò2°2Ó:¸IÔFÜœ×2Ò2°2Ó:¸IÕFr#   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r!   r(   r/   Ú__static_attributes__r1   r#   r    r   r      s   † ò.ò.õGr#   r   c                   ó   • \ rS rSrSrS rSrg)ÚTestBlasInté    a)  Test for blas_int/blas_bint types used in cython_blas/cython_lapack.

Note similar test is in test_blas.py: both cython_blas.pyx and cython_lapack.pyx
define the types, so we smoke test that `blas_int` and `blas_bint` types
can be cimported from both `cython_blas` and `cython_lapack` extensions.
c                 óþ   • SSK Jn  [        R                  " 5       nUS   S   S   nU(       a  US:X  d   SU S35       eOUS	:X  d   S
U S35       e[        R                  " 5       nU(       a	  US:X  d   egUS:X  d   eg)zDVerify blas_int and blas_bint sizes matches the build configuration.r   )ÚCONFIGzBuild DependenciesÚblaszcython blas ilp64é   zILP64 build but blas_int is z bytesé   zLP64 build but blas_int is )r=   r>   )r>   r>   N)Úscipy.__config__r;   r   Ú_blas_int_sizeÚ_blas_bint_bint_sizes)r   r;   ÚsizeÚcython_blas_ilp64Ú
bint_sizess        r    Útest_blas_int_sizeÚTestBlasInt.test_blas_int_size(   s’   € å+Ü×+Ò+Ó-ˆØ"Ð#7Ñ8¸Ñ@ÐATÑUÐÞØ˜1“9ÐIÐ <¸T¸FÀ&ÐIÓI‘9à˜1“9ÐHÐ ;¸D¸6ÀÐHÓH9ô #×8Ò8Ó:ˆ
ÞØ Ó'Ð'Ñ'à Ó'Ð'Ñ'r#   r1   N)r2   r3   r4   r5   Ú__doc__rE   r6   r1   r#   r    r8   r8       s   † ñõ(r#   r8   N)Únumpy.testingr   Úscipy.linalgr   r   r   r8   r1   r#   r    Ú<module>rJ      s$   ðÝ )Ý 7Ý ÷Gñ G÷4(ò (r#   