# shz_xmtrx_init_outer_product

Source: https://sh4zam.com/api/xmtrx/shz_xmtrx_init_outer_product/

```c
SHZ_INLINE void shz_xmtrx_init_outer_product(shz_vec4_t x, shz_vec4_t y) SHZ_NOEXCEPT;
```

Initializes XMTRX to the 4D matrix resulting from taking the outer product of the two 4D vectors.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `x` | `shz_vec4_t` |  |
| `y` | `shz_vec4_t` |  |

## Returns

Nothing (`void`).

## Availability

- **C++ equivalent:** [`shz::xmtrx::init_outer_product`](https://sh4zam.com/api/cpp/xmtrx/#init_outer_product)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_xmtrx.h:344`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_xmtrx.h#L344)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Initialization"
