
    \ci                     $    d dl mZ d dlmZ d ZdS )    )combinations_with_replacement)combc                     t          | z              } fdt          |          D             }d}t          |dz             D ]B}t          t                     |          D ]"}|D ]}||         |xx         dz  cc<   |dz  }#C|S )a\  Return the powers for each monomial in a polynomial.

    Parameters
    ----------
    ndim : int
        Number of variables in the polynomial.
    degree : int
        Degree of the polynomial.

    Returns
    -------
    (nmonos, ndim) int ndarray
        Array where each row contains the powers for each variable in a
        monomial.

    c                     g | ]}d gz  	S )r    ).0_ndims     s/var/www/html/mdtn/previsions/meteo_cartes/venv/lib/python3.11/site-packages/scipy/interpolate/_rbfinterp_common.py
<listcomp>z)_monomial_powers_impl.<locals>.<listcomp>   s    
+
+
+A3t8
+
+
+    r      )r   ranger   )r
   degreenmonosoutcountdegmonovars   `       r   _monomial_powers_implr      s    " &4-&&F
+
+
+
+U6]]
+
+
+CEVaZ    1%++sCC 	 	D  % %E
31$QJEE	 Jr   N)	itertoolsr   mathr   r   r   r   r   <module>r      sB    3 3 3 3 3 3          r   