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

Function outer

dask/array/routines.py:481–487  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

479
480@derived_from(np)
481def outer(a, b):
482 a = a.flatten()
483 b = b.flatten()
484
485 dtype = np.outer(a.dtype.type(), b.dtype.type()).dtype
486
487 return blockwise(np.outer, "ij", a, "i", b, "j", dtype=dtype)
488
489
490def _inner_apply_along_axis(arr, func1d, func1d_axis, func1d_args, func1d_kwargs):

Callers

nothing calls this directly

Calls 3

flattenMethod · 0.80
blockwiseFunction · 0.70
outerMethod · 0.45

Tested by

no test coverage detected