+
    Y°³jð  ã                   ó”   € ^ RI t^ RIHt ^ RIHt ^RIHt ^RIH	t
HtHt ]! R]P                  RR7      tR	 tR
 tR tR t	R tR tR# )é    N)ÚLinAlgError)Úget_lapack_funcs)Ú_monomial_powers_impl)Ú_build_systemÚ_build_evaluation_coefficientsÚ_polynomial_matrixÚsysvÚ	preferred)ÚdtypeÚilp64c           	      ó   € \        WW#WEV4      # ©N)Ú&_pythran_build_evaluation_coefficients)ÚxÚyÚkernelÚepsilonÚpowersÚshiftÚscaleÚxps   &&&&&&&&Ú`/home/luca/screen-checking/.venv/lib/python3.14/site-packages/scipy/interpolate/_rbfinterp_np.pyr   r      s   € ô 2Ø	ˆf˜v¨eóð ó    c                 ó   € \        W4      # r   )Ú_pythran_polynomial_matrix)r   r   r   s   &&&r   Úpolynomial_matrixr      s   € Ü% aÓ0Ð0r   c                 ó¬   € \        W4      p\        P                  ! V\        P                  R 7      p\	        V4      ^ 8X  d   VP                  ^ V 4      pV# ))r   )r   ÚnpÚasarrayÚint64ÚlenÚreshape)ÚndimÚdegreer   Úouts   &&& r   Ú_monomial_powersr&      s@   € Ü
 Ó
-€CÜ
�*Š*�S¤§¡Ô
)€CÜ
ˆ3ƒx�1„}Ø�k‰k˜!˜TÓ"ˆØ€Jr   c                 ó   € \        WW#WE4      # r   )Ú_pythran_build_system)r   ÚdÚ	smoothingr   r   r   r   s   &&&&&&&r   r   r   $   s   € Ü   y¸'ÓJÐJr   c           	     ój  € \        WW#WEV4      w  rxrš\        WxRRR7      w   r¼pV^ 8  d   \        RV)  R24      hV^ 8”  dp   RpVP                  ^ ,          pV^ 8”  dI   \	        W	,
          V
,          WV4      p\
        P                  P                  V4      pVV8  d
   RV RV R2p\        V4      hWšV3# )	a¤  Build and solve the RBF interpolation system of equations.

Parameters
----------
y : (P, N) float ndarray
    Data point coordinates.
d : (P, S) float ndarray
    Data values at `y`.
smoothing : (P,) float ndarray
    Smoothing parameter for each data point.
kernel : str
    Name of the RBF.
epsilon : float
    Shape parameter.
powers : (R, N) int ndarray
    The exponents for each monomial in the polynomial.

Returns
-------
coeffs : (P + R, S) float ndarray
    Coefficients for each RBF and monomial.
shift : (N,) float ndarray
    Domain shift used to create the polynomial matrix.
scale : (N,) float ndarray
    Domain scaling used to create the polynomial matrix.

T)Úoverwrite_aÚoverwrite_bzThe z"-th argument had an illegal value.zSingular matrix.zqSingular matrix. The matrix of monomials evaluated at the data point coordinates does not have full column rank (Ú/z).)	r   ÚdsysvÚ
ValueErrorÚshaper   r   ÚlinalgÚmatrix_rankr   )r   r)   r*   r   r   r   r   ÚlhsÚrhsr   r   Ú_ÚcoeffsÚinfoÚmsgÚnmonosÚpmatÚranks   &&&&&&&           r   Ú_build_and_solve_systemr=   (   sÓ   € ô8 +Ø	ˆi °"ó
Ñ€Cˆeô ˜s°TÀtÔLÑ€A€q�$Øˆa„xÜ˜4  ˜wÐ&HÐIÓJÐJØ	�ŒØ ˆØ—‘˜a•ˆØ�AŒ:Ü$ a¥i°Õ%6¸ÓCˆDÜ—9‘9×(Ñ(¨Ó.ˆDØ�fŒ}ðà!˜F ! F 8¨2ð/ð ô ˜#ÓÐà˜ÐÐr   c	           
      ó.   € \        WW#WEWh4      p	W—,          # r   )r   )
r   r   r   r   r   r   r   r7   r   Úvecs
   &&&&&&&&& r   Úcompute_interpolationr@   [   s   € Ü
(Ø	ˆf˜v¨eó€Cð �<Ðr   )Únumpyr   Únumpy.linalgr   Úscipy.linalg.lapackr   Ú_rbfinterp_commonr   Ú_rbfinterp_pythranr   r(   r   r   r   r   Úfloat64r/   r   r&   r=   r@   © r   r   Ú<module>rH      sO   ðÛ Ý $Ý 0Ý 4÷ñ ñ 	˜ r§z¡z¸ÔE€òò1òòKò1 ôfr   