34 vpm::vpm () : circuit (3) {
69 nr_double_t b = 2 *
M_PI * f * t +
rad (p) + v *
d;
matrix real(matrix a)
Real part matrix.
nr_double_t getPropertyDouble(const char *)
nr_complex_t cos(const nr_complex_t z)
Compute complex cosine.
void setVoltageSources(int)
void initSP(void)
placehoder for S-Parameter initialisation function
nr_complex_t sin(const nr_complex_t z)
Compute complex sine.
void setE(int, nr_complex_t)
#define M_PI
Archimedes' constant ( )
#define rad(x)
Convert degree to radian.
void allocMatrixMNA(void)
nr_double_t getV(int, nr_double_t)
void voltageSource(int, int, int, nr_double_t value=0.0)
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.
void setC(int, int, nr_complex_t)