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