# shz_xmtrx_write_row

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

> Sets the values at the given row index to the given 4D vector

```c
SHZ_INLINE void shz_xmtrx_write_row(unsigned int index, shz_vec4_t vector) SHZ_NOEXCEPT;
```

Sets the values at the given row `index` to the given 4D vector.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `index` | `unsigned int` |  |
| `vector` | `shz_vec4_t` |  |

## Returns

Nothing (`void`).

## Availability

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