Skip to content

shz_cpolarf

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

NameTypeDescription
rfloat
thetafloat

shz_complex_t

  • 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"