(a, b)
| 479 | |
| 480 | @derived_from(np) |
| 481 | def 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 | |
| 490 | def _inner_apply_along_axis(arr, func1d, func1d_axis, func1d_args, func1d_kwargs): |