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

◆ ComplexConversionStrategy

enum class MayaFlux::Kakshya::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 16 of file DataUtils.hpp.

16 : uint8_t {
17 MAGNITUDE, ///< |z| = sqrt(real² + imag²)
18 REAL_PART, ///< z.real()
19 IMAG_PART, ///< z.imag()
20 SQUARED_MAGNITUDE ///< |z|² = real² + imag²
21};
@ SQUARED_MAGNITUDE
|z|² = real² + imag²
@ MAGNITUDE
|z| = sqrt(real² + imag²)