MCPcopy
hub / github.com/dask/dask / _sqrt

Function _sqrt

dask/array/reductions.py:693–696  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

691
692
693def _sqrt(a):
694 if isinstance(a, np.ma.masked_array) and not a.shape and a.mask.all():
695 return np.ma.masked
696 return np.sqrt(a)
697
698
699def safe_sqrt(a):

Callers 1

safe_sqrtFunction · 0.85

Calls 1

allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…