PairComplexLgAmpPhase.h
Go to the documentation of this file.
1 
7 #ifndef _utl_Pair_Complex_h_
8 #define _utl_Pair_Complex_h_
9 
10 #include <utl/ComplexLgAmpPhase.h>
11 
12 
13 
14 namespace utl {
15 
27 
28  public:
29  PairComplexLgAmpPhase() : fX(0), fY(0) { }
30  PairComplexLgAmpPhase(const double x, const utl::ComplexLgAmpPhase& y) : fX(x), fY(y) { }
31 
32  double X() const { return fX; }
33  const ComplexLgAmpPhase& Y() const { return fY; }
34 
35  private:
36  double fX;
38 
39  };
40 
41 }
42 
43 
44 #endif
45 
46 // Configure (x)emacs for this file ...
47 // Local Variables:
48 // mode: c++
49 // compile-command: "make -C .. -k"
50 // End:
PairComplexLgAmpPhase(const double x, const utl::ComplexLgAmpPhase &y)
const ComplexLgAmpPhase & Y() const
A class to store complex numbers which are internally represented by log10(amplitude) and phase (and ...

, generated on Tue Sep 26 2023.