For complete documentation of the types of special-function errors and treatment options, see seterr
.
A dictionary with keys "singular", "underflow", "overflow", "slow", "loss", "no_result", "domain", "arg", and "other", whose values are from the strings "ignore", "warn", and "raise". The keys represent possible special-function errors, and the values define how these errors are handled.
Get the current way of handling special-function errors.
errstate
context manager for special-function error handling
numpy.geterr
similar numpy function for floating-point errors
seterr
set how special-function errors are handled
By default all errors are ignored.
>>> import scipy.special as scSee :
... for key, value in sorted(sc.geterr().items()):
... print("{}: {}".format(key, value)) ... arg: ignore domain: ignore loss: ignore no_result: ignore other: ignore overflow: ignore singular: ignore slow: ignore underflow: ignore
The following pages refer to to this document either explicitly or contain code examples using this.
scipy.special._ufuncs.geterr
scipy.special._ufuncs.seterr
scipy.special._ufuncs.errstate
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