# shz_complex_t

Source: https://sh4zam.com/api/complex/shz_complex_t/

```c
typedef struct shz_complex {
    float real;     //!< The real portion of the complex number.
    float imag;     //!< The imaginary portion of the complex number.
} shz_complex_t;
```

Represents a floating-point complex number real/imaginary pair.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `real` | `float` | The real portion of the complex number. |
| `imag` | `float` | The imaginary portion of the complex number. |

## Availability

- **C++ equivalent:** [`shz::complex`](https://sh4zam.com/api/cpp/complex/)
- **Back-ends:** n/a (not a function)
- **Defined in:** [`sh4zam/shz_complex.h:47`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_complex.h#L47)
- **Module:** [Complex](https://sh4zam.com/api/complex/), section "Types"
