scipy 1.8.0 Pypi GitHub Homepage
Other Docs
Parameters

If a section of the piecewise polynomial is identically zero, the values (x[begin], nan) are appended to the root list.

If the piecewise polynomial is not continuous, and the sign changes across a breakpoint, the breakpoint is added to the root set if :None:None:`report_discont` is True.

Parameters

c, x :

Polynomial coefficients, as above

y : float

Find roots of pp(x) == y .

report_discont : bint, optional

Whether to report discontinuities across zero at breakpoints as roots

extrapolate : bint, optional

Whether to consider roots obtained by extrapolating based on first and last intervals.

Compute real roots of a real-valued piecewise polynomial function.

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 'builtin_function_or_method'>
Commit: