o
    ie                     @   s$   d Z ddlmZmZmZ dd ZdS )zl
Here we perform some symbolic computations required for the N-D
interpolation routines in `interpnd.pyx`.

    )symbolsbinomialMatrixc                  C   sR  t g d\} }}}}| |d|   d |d|  d |g}d}tdD ]}|td|||  ||  d| d|   7 }q#||d }|d |ddf }	t|	|d |	|| d g|	|| d |	|d gg}
t|	||dg|	||dggd }t	d t	|
 t	d t	| t	d	 t	|

 |  d S )
N)f1f2df1df2x   r            ABZsolution)r   ranger   diffexpandZ	integrater   Zcoeffsubsprintinv)r   r   r   r   r	   cwkZwppZintwpp2r   r    r   o/var/www/html/eduruby.in/lip-sync/lip-sync-env/lib/python3.10/site-packages/scipy/interpolate/_interpnd_info.py_estimate_gradients_2d_global	   s*   $0 r   N)__doc__Zsympyr   r   r   r   r   r   r   r   <module>   s    