34 rlcg::rlcg () : circuit (2) {
55 nr_complex_t s11 = r * (1.0 - p * p) / (1.0 - p * p * r * r);
86 if (R != 0.0 && l != 0.0) {
88 nr_double_t
g = 1.0 / R /
l;
std::complex< nr_double_t > nr_complex_t
matrix real(matrix a)
Real part matrix.
#define T0
standard temperature
void saveCharacteristics(nr_double_t)
nr_double_t getPropertyDouble(const char *)
void calcNoiseSP(nr_double_t)
void calcNoiseAC(nr_double_t)
void setInternalVoltageSource(bool i)
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 sqrt(const nr_complex_t z)
Compute principal value of square root.
nr_complex_t tanh(const nr_complex_t z)
Compute complex hyperbolic tangent.
#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.
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 calcPropagation(nr_double_t)
void setCharacteristic(const char *, nr_double_t)
#define PROP_NO_SUBSTRATE