spmatrix.h File Reference

#include "spConfig.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

Defines

#define spOKAY   0
#define spSMALL_PIVOT   1
#define spZERO_DIAG   2
#define spSINGULAR   3
#define spNO_MEMORY   4
#define spPANIC   5
#define spFATAL   2
#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

void spClear ()
spREAL spCondition ()
char * spCreate ()
void spDeleteRowAndCol ()
void spDestroy ()
void spDeterminant ()
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 ()
int spInitialize ()
void spInstallInitInfo ()
spREAL spLargestElement ()
void spMNA_Preorder ()
void spMultiply ()
void spMultTransposed ()
spREAL spNorm ()
int spOrderAndFactor ()
void spPartition ()
void spPrint ()
spREAL spPseudoCondition ()
spREAL spRoundoff ()
void spScale ()
void spSetComplex ()
void spSetReal ()
void spSolve ()
void spSolveTransposed ()
void spStripFills ()
void spWhereSingular ()


Define Documentation

#define spADD_COMPLEX_ELEMENT ( element,
real,
imag   ) 

Value:

{   *(element) += real;                                 \
    *(element+1) += imag;                               \
}

Definition at line 194 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 213 of file spmatrix.h.

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

Definition at line 192 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 206 of file spmatrix.h.

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

Definition at line 190 of file spmatrix.h.

Referenced by lufact1().

#define spADD_REAL_QUAD ( template,
real   ) 

Value:

{   *((template).Element1) += real;             \
    *((template).Element2) += real;             \
    *((template).Element3Negated) -= real;      \
    *((template).Element4Negated) -= real;      \
}

Definition at line 199 of file spmatrix.h.

#define spAUTO_PARTITION   3

Definition at line 159 of file spmatrix.h.

Referenced by spPartition().

#define spDEFAULT_PARTITION   0

Definition at line 156 of file spmatrix.h.

Referenced by spFactor(), and spPartition().

#define spDIRECT_PARTITION   1

Definition at line 157 of file spmatrix.h.

Referenced by spPartition().

#define spFATAL   2

Definition at line 103 of file spmatrix.h.

Referenced by spOrderAndFactor().

#define spINDIRECT_PARTITION   2

Definition at line 158 of file spmatrix.h.

Referenced by spPartition().

#define spNO_MEMORY   4

Definition at line 100 of file spmatrix.h.

Referenced by AllocateBlockOfAllocationList(), ComplexRowColElimination(), CreateInternalVectors(), EnlargeMatrix(), InitializeElementBlocks(), lufact1(), RealRowColElimination(), RecordAllocation(), spcGetElement(), spcGetFillin(), spCreate(), spError(), and spGetElement().

#define spOKAY   0

Definition at line 96 of file spmatrix.h.

Referenced by lufact1(), spClear(), spCreate(), and spOrderAndFactor().

#define spPANIC   5

Definition at line 101 of file spmatrix.h.

Referenced by spCreate().

#define spREAL   double

Definition at line 126 of file spmatrix.h.

Referenced by lufact1(), and lusolve1().

#define spSINGULAR   3

Definition at line 99 of file spmatrix.h.

Referenced by lufact1(), MatrixIsSingular(), and spWhereSingular().

#define spSMALL_PIVOT   1

Definition at line 97 of file spmatrix.h.

Referenced by lufact1().

#define spZERO_DIAG   2

Definition at line 98 of file spmatrix.h.

Referenced by lufact1(), spWhereSingular(), and ZeroPivot().


Function Documentation

void spClear (  ) 

spREAL spCondition (  ) 

char* spCreate (  ) 

Referenced by lufact1().

Here is the caller graph for this function:

void spDeleteRowAndCol (  ) 

void spDestroy (  ) 

Referenced by ludel1(), and spCreate().

Here is the caller graph for this function:

void spDeterminant (  ) 

int spElementCount (  ) 

int spError (  ) 

int spFactor (  ) 

Referenced by lufact1().

Here is the caller graph for this function:

int spFileMatrix (  ) 

int spFileStats (  ) 

int spFileVector (  ) 

int spFillinCount (  ) 

int spGetAdmittance (  ) 

spREAL* spGetElement (  ) 

Referenced by lufact1().

Here is the caller graph for this function:

char* spGetInitInfo (  ) 

int spGetOnes (  ) 

int spGetQuad (  ) 

int spGetSize (  ) 

int spInitialize (  ) 

void spInstallInitInfo (  ) 

spREAL spLargestElement (  ) 

void spMNA_Preorder (  ) 

void spMultiply (  ) 

void spMultTransposed (  ) 

spREAL spNorm (  ) 

int spOrderAndFactor (  ) 

Referenced by spFactor().

Here is the caller graph for this function:

void spPartition (  ) 

Referenced by spFactor().

Here is the caller graph for this function:

void spPrint (  ) 

spREAL spPseudoCondition (  ) 

spREAL spRoundoff (  ) 

void spScale (  ) 

void spSetComplex (  ) 

void spSetReal (  ) 

void spSolve (  ) 

Referenced by lusolve1().

Here is the caller graph for this function:

void spSolveTransposed (  ) 

void spStripFills (  ) 

void spWhereSingular (  ) 


Generated on Sun Mar 4 16:12:45 2007 for Scilab [trunk] by  doxygen 1.5.1