34 phaseshifter::phaseshifter () : circuit (2) {
35 type = CIR_PHASESHIFTER;
41 nr_double_t
r = (
z0 - z) / (
z0 + z);
69 nr_double_t y11 = 1 / z /
std::tan (p);
70 nr_double_t y21 = -1 / z /
std::sin (p);
std::complex< nr_double_t > nr_complex_t
void initSP(void)
placehoder for S-Parameter initialisation function
nr_double_t getPropertyDouble(const char *)
void setVoltageSources(int)
static const nr_double_t z0
nr_complex_t sin(const nr_complex_t z)
Compute complex sine.
#define rad(x)
Convert degree to radian.
void setY(int, int, nr_complex_t)
void allocMatrixMNA(void)
void voltageSource(int, int, int, nr_double_t value=0.0)
nr_complex_t tan(const nr_complex_t z)
Compute complex tangent.
void setS(int, int, nr_complex_t)
nr_complex_t polar(const nr_double_t mag, const nr_double_t ang)
Construct a complex number using polar notation.
#define PROP_NO_SUBSTRATE