{ } Raw JSON

bundles / scipy 1.17.1 / scipy / interpolate / _rbfinterp_common / _monomial_powers_impl

function

scipy.interpolate._rbfinterp_common:_monomial_powers_impl

source: /scipy/interpolate/_rbfinterp_common.py :5

Signature

def   _monomial_powers_impl ( ndim degree )

Summary

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.

Aliases

  • scipy.interpolate._rbfinterp_common._monomial_powers_impl