34 tline4p::tline4p () : circuit (4) {
42 nr_double_t b = 2 *
M_PI * frequency /
C0;
46 nr_double_t p = 2 *
z0 + z;
47 nr_double_t
n = 2 *
z0 - z;
107 nr_double_t b = 2 *
M_PI * frequency /
C0;
150 nr_double_t T = l /
C0;
std::complex< nr_double_t > nr_complex_t
void calcNoiseSP(nr_double_t)
matrix real(matrix a)
Real part matrix.
#define T0
standard temperature
nr_complex_t coth(const nr_complex_t z)
Compute complex hyperbolic cotangent.
nr_double_t getPropertyDouble(const char *)
void setD(int, int, nr_complex_t)
void setVoltageSources(int)
#define K
Absolute 0 in centigrade.
void setB(int, int, nr_complex_t)
static const nr_double_t z0
int getSize(void)
Get the number of ports the circuit element has.
nr_double_t getJ(int, nr_double_t)
nr_complex_t cosech(const nr_complex_t z)
Compute complex argument hyperbolic cosec.
void setE(int, nr_complex_t)
#define M_PI
Archimedes' constant ( )
matrix transpose(matrix a)
Matrix transposition.
void setY(int, int, nr_complex_t)
void allocMatrixMNA(void)
void calcNoiseAC(nr_double_t)
nr_double_t getV(int, nr_double_t)
#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.
nr_complex_t exp(const nr_complex_t z)
Compute complex exponential.
void setS(int, int, nr_complex_t)
matrix conj(matrix a)
Conjugate complex matrix.
void setC(int, int, nr_complex_t)
void initHistory(nr_double_t)
nr_complex_t log(const nr_complex_t z)
Compute principal value of natural logarithm of z.
#define PROP_NO_SUBSTRATE