61 g = (nr_double_t *) malloc ((
getSize () - 1) *
sizeof (nr_double_t));
99 return t * (1 - x *
x);
matrix real(matrix a)
Real part matrix.
nr_double_t getPropertyDouble(const char *)
virtual void calcDerivatives(void)
virtual void calcOutput(void)
void setVoltageSources(int)
Global physical constants header file.
void setB(int, int, nr_complex_t)
void initSP(void)
placehoder for S-Parameter initialisation function
int getSize(void)
Get the number of ports the circuit element has.
nr_complex_t tanh(const nr_complex_t z)
Compute complex hyperbolic tangent.
nr_double_t calcDerivative(int)
void setE(int, nr_complex_t)
#define M_PI
Archimedes' constant ( )
The circuit class header file.
void calcOperatingPoints(void)
void allocMatrixMNA(void)
nr_double_t calcTransfer(int)
nr_double_t getV(int, nr_double_t)
nr_double_t calcTransferX(int)
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)
void initHistory(nr_double_t)
nr_double_t calcDerivativeX(int)