34 ctline::ctline () : circuit (4) {
46 nr_double_t o = 2.0 *
M_PI * frequency;
113 nr_double_t o = 2.0 *
M_PI * frequency;
120 y12 = 0.5 /
sinh (arg_e) / ze;
121 y13 = -0.5 /
sinh (arg_o) / zo;
std::complex< nr_double_t > nr_complex_t
matrix real(matrix a)
Real part matrix.
#define T0
standard temperature
nr_double_t getPropertyDouble(const char *)
void calcNoiseSP(nr_double_t)
void setVoltageSources(int)
#define K
Absolute 0 in centigrade.
static const nr_double_t z0
int getSize(void)
Get the number of ports the circuit element has.
nr_complex_t cosh(const nr_complex_t z)
Compute complex hyperbolic cosine.
nr_complex_t sqrt(const nr_complex_t z)
Compute principal value of square root.
#define M_PI
Archimedes' constant ( )
matrix transpose(matrix a)
Matrix transposition.
void setY(int, int, nr_complex_t)
void allocMatrixMNA(void)
nr_complex_t sinh(const nr_complex_t z)
Compute complex hyperbolic sine.
#define C0
speed of light in vacuum ( )
void voltageSource(int, int, int, nr_double_t value=0.0)
matrix eye(int rs, int cs)
Create identity matrix with specified number of rows and columns.
void setS(int, int, nr_complex_t)
matrix conj(matrix a)
Conjugate complex matrix.
nr_complex_t log(const nr_complex_t z)
Compute principal value of natural logarithm of z.
void calcNoiseAC(nr_double_t)