MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ ComplexConversionStrategy

enum class MayaFlux::Utils::ComplexConversionStrategy : uint8_t
strong

Strategy for converting complex numbers to real values.

Enumerator
MAGNITUDE 

|z| = sqrt(real² + imag²)

REAL_PART 

z.real()

IMAG_PART 

z.imag()

SQUARED_MAGNITUDE 

|z|² = real² + imag²

Definition at line 64 of file Utils.hpp.

64 : uint8_t {
65 MAGNITUDE, ///< |z| = sqrt(real² + imag²)
66 REAL_PART, ///< z.real()
67 IMAG_PART, ///< z.imag()
68 SQUARED_MAGNITUDE ///< |z|² = real² + imag²
69};
@ SQUARED_MAGNITUDE
|z|² = real² + imag²
@ MAGNITUDE
|z| = sqrt(real² + imag²)