Jspice3
spmatrix.h File Reference
#include "spconfig.h"
#include "sperror.h"
Include dependency graph for spmatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  spTemplate
 

Macros

#define spOKAY   OK
 
#define spSMALL_PIVOT   OK
 
#define spZERO_DIAG   E_SINGULAR
 
#define spSINGULAR   E_SINGULAR
 
#define spNO_MEMORY   E_NOMEM
 
#define spPANIC   E_BADMATRIX
 
#define spFATAL   E_BADMATRIX
 
#define spREAL   double
 
#define spDEFAULT_PARTITION   0
 
#define spDIRECT_PARTITION   1
 
#define spINDIRECT_PARTITION   2
 
#define spAUTO_PARTITION   3
 
#define spADD_REAL_ELEMENT(element, real)   *(element) += real
 
#define spADD_IMAG_ELEMENT(element, imag)   *(element+1) += imag
 
#define spADD_COMPLEX_ELEMENT(element, real, imag)
 
#define spADD_REAL_QUAD(template, real)
 
#define spADD_IMAG_QUAD(template, imag)
 
#define spADD_COMPLEX_QUAD(template, real, imag)
 

Functions

int spAddCol ()
 
void spClear ()
 
spREAL spCondition ()
 
void spConstMult ()
 
char * spCreate ()
 
void spDeleteRowAndCol ()
 
void spDestroy ()
 
void spDeterminant ()
 
int spDProd ()
 
int spElementCount ()
 
int spError ()
 
int spFactor ()
 
int spFileMatrix ()
 
int spFileStats ()
 
int spFileVector ()
 
int spFillinCount ()
 
int spGetAdmittance ()
 
spREALspGetElement ()
 
char * spGetInitInfo ()
 
int spGetOnes ()
 
int spGetQuad ()
 
int spGetSize ()
 
void spGetStat ()
 
int spInitialize ()
 
void spInstallInitInfo ()
 
void spItoR ()
 
spREAL spLargestElement ()
 
void spLoadGmin ()
 
void spMNA_Preorder ()
 
void spMultiply ()
 
void spMultTransposed ()
 
spREAL spNorm ()
 
int spOrderAndFactor ()
 
void spPartition ()
 
void spPrint ()
 
spREAL spPseudoCondition ()
 
spREAL spRoundoff ()
 
void spRtoI ()
 
void spScale ()
 
void spSetComplex ()
 
void spSetReal ()
 
void spSolve ()
 
void spSolveTransposed ()
 
void spStripFills ()
 
void spWhereSingular ()
 
int spZeroCol ()
 

Macro Definition Documentation

#define spADD_COMPLEX_ELEMENT (   element,
  real,
  imag 
)
Value:
{ *(element) += real; \
*(element+1) += imag; \
}

Definition at line 215 of file spmatrix.h.

#define spADD_COMPLEX_QUAD (   template,
  real,
  imag 
)
Value:
{ *((template).Element1) += real; \
*((template).Element2) += real; \
*((template).Element3Negated) -= real; \
*((template).Element4Negated) -= real; \
*((template).Element1+1) += imag; \
*((template).Element2+1) += imag; \
*((template).Element3Negated+1) -= imag; \
*((template).Element4Negated+1) -= imag; \
}

Definition at line 234 of file spmatrix.h.

#define spADD_IMAG_ELEMENT (   element,
  imag 
)    *(element+1) += imag

Definition at line 213 of file spmatrix.h.

#define spADD_IMAG_QUAD (   template,
  imag 
)
Value:
{ *((template).Element1+1) += imag; \
*((template).Element2+1) += imag; \
*((template).Element3Negated+1) -= imag; \
*((template).Element4Negated+1) -= imag; \
}

Definition at line 227 of file spmatrix.h.

#define spADD_REAL_ELEMENT (   element,
  real 
)    *(element) += real

Definition at line 211 of file spmatrix.h.

#define spADD_REAL_QUAD (   template,
  real 
)
Value:
{ *((template).Element1) += real; \
*((template).Element2) += real; \
*((template).Element3Negated) -= real; \
*((template).Element4Negated) -= real; \
}

Definition at line 220 of file spmatrix.h.

#define spAUTO_PARTITION   3

Definition at line 180 of file spmatrix.h.

#define spDEFAULT_PARTITION   0

Definition at line 177 of file spmatrix.h.

#define spDIRECT_PARTITION   1

Definition at line 178 of file spmatrix.h.

#define spFATAL   E_BADMATRIX

Definition at line 108 of file spmatrix.h.

#define spINDIRECT_PARTITION   2

Definition at line 179 of file spmatrix.h.

#define spNO_MEMORY   E_NOMEM

Definition at line 105 of file spmatrix.h.

#define spOKAY   OK

Definition at line 101 of file spmatrix.h.

#define spPANIC   E_BADMATRIX

Definition at line 106 of file spmatrix.h.

#define spREAL   double

Definition at line 145 of file spmatrix.h.

#define spSINGULAR   E_SINGULAR

Definition at line 104 of file spmatrix.h.

#define spSMALL_PIVOT   OK

Definition at line 102 of file spmatrix.h.

#define spZERO_DIAG   E_SINGULAR

Definition at line 103 of file spmatrix.h.

Function Documentation

int spAddCol ( )
void spClear ( )
spREAL spCondition ( )
void spConstMult ( )
char* spCreate ( )
void spDeleteRowAndCol ( )
void spDestroy ( )
void spDeterminant ( )
int spDProd ( )
int spElementCount ( )
int spError ( )
int spFactor ( )
int spFileMatrix ( )
int spFileStats ( )
int spFileVector ( )
int spFillinCount ( )
int spGetAdmittance ( )
spREAL* spGetElement ( )
char* spGetInitInfo ( )
int spGetOnes ( )
int spGetQuad ( )
int spGetSize ( )
void spGetStat ( )
int spInitialize ( )
void spInstallInitInfo ( )
void spItoR ( )
spREAL spLargestElement ( )
void spLoadGmin ( )
void spMNA_Preorder ( )
void spMultiply ( )
void spMultTransposed ( )
spREAL spNorm ( )
int spOrderAndFactor ( )
void spPartition ( )
void spPrint ( )
spREAL spPseudoCondition ( )
spREAL spRoundoff ( )
void spRtoI ( )
void spScale ( )
void spSetComplex ( )
void spSetReal ( )
void spSolve ( )
void spSolveTransposed ( )
void spStripFills ( )
void spWhereSingular ( )
int spZeroCol ( )