MCPcopy Index your code
hub / github.com/dask/dask / modf

Function modf

dask/array/_array_expr/_ufunc.py:333–338  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

331
332@derived_from(np)
333def modf(x):
334 # Not actually object dtype, just need to specify something
335 tmp = elemwise(np.modf, x, dtype=object)
336 left = DoubleOutputs(tmp, 0, getattr(x, "_meta", x), "modf1-", np.modf)
337 right = DoubleOutputs(tmp, 1, getattr(x, "_meta", x), "modf2-", np.modf)
338 return new_collection(left), new_collection(right)
339
340
341@derived_from(np)

Callers

nothing calls this directly

Calls 3

elemwiseFunction · 0.90
new_collectionFunction · 0.90
DoubleOutputsClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…