Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
eqnsys.cpp File Reference
#include "qucs_typedefs.h"
#include <assert.h>
#include <time.h>
#include <cmath>
#include <float.h>
#include "compat.h"
#include "logging.h"
#include "precision.h"
#include "complex.h"
#include "tmatrix.h"
#include "eqnsys.h"
#include "exception.h"
#include "exceptionstack.h"

Go to the source code of this file.

Namespaces

 qucs
 

Macros

#define Swap(type, a, b)   { type t; t = a; a = b; b = t; }
 Little helper macro. More...
 
#define A_   (*A)
 
#define X_   (*X)
 
#define B_   (*B)
 
#define LU_FAILURE   0
 
#define VIRTUAL_RES(txt, i)
 
#define R_   (*R)
 
#define T_   (*T)
 
#define sign_(a)   (real (a) < 0 ? -1 : 1)
 
#define V_   (*V)
 
#define S_   (*S)
 
#define E_   (*E)
 
#define U_   (*A)
 

Functions

static void qucs::euclidian_update (nr_double_t a, nr_double_t &n, nr_double_t &scale)
 
template<typename nr_type_t >
nr_type_t qucs::cond_conj (nr_type_t t)
 
template<>
double qucs::cond_conj (double t)
 
static nr_double_t qucs::givens (nr_double_t a, nr_double_t b, nr_double_t &c, nr_double_t &s)
 Helper function computes Givens rotation. More...
 

Macro Definition Documentation

#define A_   (*A)

Definition at line 187 of file eqnsys.cpp.

#define B_   (*B)

Definition at line 189 of file eqnsys.cpp.

#define E_   (*E)

Definition at line 1207 of file eqnsys.cpp.

#define LU_FAILURE   0

Definition at line 274 of file eqnsys.cpp.

#define R_   (*R)

Definition at line 797 of file eqnsys.cpp.

#define S_   (*S)

Definition at line 1206 of file eqnsys.cpp.

#define sign_ (   a)    (real (a) < 0 ? -1 : 1)

Definition at line 1082 of file eqnsys.cpp.

#define Swap (   type,
  a,
 
)    { type t; t = a; a = b; b = t; }

Little helper macro.

Definition at line 45 of file eqnsys.cpp.

#define T_   (*T)

Definition at line 798 of file eqnsys.cpp.

#define U_   (*A)

Definition at line 1208 of file eqnsys.cpp.

#define V_   (*V)

Definition at line 1205 of file eqnsys.cpp.

#define VIRTUAL_RES (   txt,
  i 
)
Value:
{ \
qucs::exception * e = new qucs::exception (EXCEPTION_SINGULAR); \
e->setText (txt); \
e->setData (rMap[i]); \
A_(i, i) = NR_TINY; /* virtual resistance to ground */ \
#define throw_exception(e)
i
Definition: parse_mdl.y:516
#define A_
Definition: eqnsys.cpp:187

Definition at line 275 of file eqnsys.cpp.

#define X_   (*X)

Definition at line 188 of file eqnsys.cpp.