# shz_vec4_inv_sqrtf

Source: https://sh4zam.com/api/vector/shz_vec4_inv_sqrtf/

```c
SHZ_INLINE shz_vec4_t shz_vec4_inv_sqrtf(shz_vec4_t vec) SHZ_NOEXCEPT;
```

Returns a 4D vector whose components are the inverse square root of the given vector's components.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `vec` | `shz_vec4_t` |  |

## Returns

`shz_vec4_t`

## Availability

- **C++ equivalent:** [`shz::vec4::inv_sqrtf`](https://sh4zam.com/api/cpp/vec4/#inv_sqrtf)
- **Type-generic form:** [`shz_vec_inv_sqrtf()`](https://sh4zam.com/api/vector/shz_vec_inv_sqrtf/)
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: dedicated SPU implementation
- **Defined in:** [`sh4zam/shz_vector.h:333`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_vector.h#L333)
- **Module:** [Vector](https://sh4zam.com/api/vector/), section "Component-wise Operations"
