scipy 1.8.0 Pypi GitHub Homepage
Other Docs
Parameters

Parameters

c : ndarray, shape (k_1*...*k_d, m_1*...*m_d, n)

Coefficients local polynomials of order :None:None:`k-1` in :None:None:`m_1`, ..., :None:None:`m_d` intervals. There are :None:None:`n` polynomials in each interval.

ks : ndarray of int, shape (d,)

Orders of polynomials in each dimension

xs : d-tuple of ndarray of shape (m_d+1,) each

Breakpoints of polynomials

xp : ndarray, shape (r, d)

Points to evaluate the piecewise polynomial at.

dx : ndarray of int, shape (d,)

Orders of derivative to evaluate. The derivative is evaluated piecewise and may have discontinuities.

extrapolate : int, optional

Whether to extrapolate to out-of-bounds points based on first and last intervals, or to return NaNs.

out : ndarray, shape (r, n)

Value of each polynomial at each of the input points. For points outside the span x[0] ... x[-1] , nan is returned. This argument is modified in-place.

Evaluate a piecewise tensor-product polynomial.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : None#None
type: <class 'fused_cython_function'>
Commit: