+
    LV-j»  ã                   ó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 tR tR tR	 t	R
 tR tR# )é    N)ÚLinAlgError)Údgesv)Ú_monomial_powers_impl)Ú_build_systemÚ_build_evaluation_coefficientsÚ_polynomial_matrixc           	      ó   € \        WW#WEV4      # ©N)Ú&_pythran_build_evaluation_coefficients)ÚxÚyÚkernelÚepsilonÚpowersÚshiftÚscaleÚxps   &&&&&&&&Úp/Volumes/fast/ai/experiments/ui-tars-smoke/.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# ))Údtype)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   r   Ú
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_systemr9   %   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   r3   r   Úvecs
   &&&&&&&&& r   Úcompute_interpolationr<   X   s   € Ü
(Ø	ˆf˜v¨eó€Cð �<Ðr   )Únumpyr   Únumpy.linalgr   Úscipy.linalg.lapackr   Ú_rbfinterp_commonr   Ú_rbfinterp_pythranr   r%   r   r   r   r   r   r#   r9   r<   © r   r   Ú<module>rC      s;   ðÛ Ý $Ý %Ý 4÷ñ òò1òòKò1 ôfr   