shz_cpolarf
SHZ_INLINE shz_complex_t shz_cpolarf(float r, float theta) SHZ_NOEXCEPT;Returns a complex number with a magnitude of r, and a phase angle of theta (in radians).
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
r | float | |
theta | float |
Returns
Section titled “Returns”shz_complex_t
Availability
Section titled “Availability”- C++ equivalent:
shz::cpolarf - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_complex.h:64 - Module: Complex, section "Basic"