Skip to content

shz_complex_t

Markdown
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.

FieldTypeDescription
realfloatThe real portion of the complex number.
imagfloatThe imaginary portion of the complex number.