To remove in the future –– numpy.lib.scimath
Wrapper functions to more user-friendly calling of certain math functions whose output data-type is different than the input data-type in certain domains of the input.
For example, for functions like :None:None:`log`
with branch cuts, the versions in this module provide the mathematically valid answers in the complex plane:
>>> import math >>> np.emath.log(-math.exp(1)) == (1+1j*math.pi) True
Similarly, :None:None:`sqrt`
, other base logarithms, :None:None:`power`
and trig functions are correctly handled. See their respective docstrings for specific examples.
.. autosummary:: :toctree:generated/ sqrt log log2 logn log10 power arccos arcsin arctanh
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