Qucs-core  0.0.19
Namespaces | Defines | Functions
eqnsys.cpp File Reference
#include "qucs_typedefs.h"
#include <assert.h>
#include <time.h>
#include <cmath>
#include <float.h>
#include <limits>
#include "compat.h"
#include "logging.h"
#include "precision.h"
#include "complex.h"
#include "tmatrix.h"
#include "eqnsys.h"
#include "exception.h"
#include "exceptionstack.h"
Include dependency graph for eqnsys.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  qucs

Defines

#define Swap(type, a, b)   { type t; t = a; a = b; b = t; }
 Little helper macro.
#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.

Define Documentation

#define A_   (*A)

Definition at line 189 of file eqnsys.cpp.

#define B_   (*B)

Definition at line 191 of file eqnsys.cpp.

#define E_   (*E)

Definition at line 1209 of file eqnsys.cpp.

#define LU_FAILURE   0

Definition at line 276 of file eqnsys.cpp.

#define R_   (*R)

Definition at line 799 of file eqnsys.cpp.

#define S_   (*S)

Definition at line 1208 of file eqnsys.cpp.

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

Definition at line 1084 of file eqnsys.cpp.

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

Little helper macro.

Definition at line 47 of file eqnsys.cpp.

#define T_   (*T)

Definition at line 800 of file eqnsys.cpp.

#define U_   (*A)

Definition at line 1210 of file eqnsys.cpp.

#define V_   (*V)

Definition at line 1207 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 */          \
  throw_exception (e); }

Definition at line 277 of file eqnsys.cpp.

#define X_   (*X)

Definition at line 190 of file eqnsys.cpp.