MCPcopy Create free account
hub / github.com/dask/dask / modf

Function modf

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

Source from the content-addressed store, hash-verified

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