OpenStructure
|
#include <phase.hh>
Public Member Functions | |
Phase () | |
Phase (Real angle) | |
Phase (Complex comp) | |
operator Real () const | |
const Phase | operator+= (const Phase &rhs) |
const Phase | operator-= (const Phase &rhs) |
Phase | operator- () const |
const Phase | operator*= (Real d) |
const Phase | operator/= (Real d) |
Protected Member Functions | |
Real | reduce (Real in) |
Protected Attributes | |
Real | angle_ |
Manages phases og Complex numbers.
Manages phases of Complex numbers, and allows sums and subtractions of phases. Takes correctly into account phase periodicity
operator Real | ( | ) | const |
Phase operator- | ( | ) | const |
negateable