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

Function frexp

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

Source from the content-addressed store, hash-verified

323
324@derived_from(np)
325def frexp(x):
326 # Not actually object dtype, just need to specify something
327 tmp = elemwise(np.frexp, x, dtype=object)
328 left = DoubleOutputs(tmp, 0, getattr(x, "_meta", x), "mantissa-", np.frexp)
329 right = DoubleOutputs(tmp, 1, getattr(x, "_meta", x), "exponent-", np.frexp)
330 return new_collection(left), new_collection(right)
331
332
333@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