SIFEL/GEFEL/LAPACK/spfactor.cpp File Reference

#include "spconfig.h"
#include "spmatrix.h"

Go to the source code of this file.

Defines

#define generic
#define spINSIDE_SPARSE

Functions

static void CountMarkowitz (MatrixPtr Matrix, double *RHS, int Step)
static ElementPtr CreateFillin (MatrixPtr Matrix, int Row, int Col)
static void CreateInternalVectors (MatrixPtr Matrix)
static void ExchangeColElements (MatrixPtr Matrix, int Row1, ElementPtr Element1, int Row2, ElementPtr Element2, int Column)
static void ExchangeRowElements (MatrixPtr Matrix, int Col1, ElementPtr Element1, int Col2, ElementPtr Element2, int Row)
static void ExchangeRowsAndCols (MatrixPtr Matrix, ElementPtr pPivot, int Step)
static double FindBiggestInColExclude (MatrixPtr Matrix, ElementPtr pElement, int Step)
static double FindLargestInCol (ElementPtr pElement)
static void MarkowitzProducts (MatrixPtr Matrix, int Step)
static int MatrixIsSingular (MatrixPtr Matrix, int Step)
static ElementPtr QuicklySearchDiagonal (MatrixPtr Matrix, int Step)
static void RealRowColElimination (MatrixPtr Matrix, ElementPtr pPivot)
static ElementPtr SearchDiagonal (MatrixPtr Matrix, int Step)
static ElementPtr SearchEntireMatrix (MatrixPtr Matrix, int Step)
static ElementPtr SearchForPivot (MatrixPtr Matrix, int Step, int DiagPivoting)
static ElementPtr SearchForSingleton (MatrixPtr Matrix, int Step)
void spcColExchange (MatrixPtr Matrix, int Col1, int Col2)
ElementPtr spcCreateElement (MatrixPtr Matrix, int Row, int Col, ElementPtr *LastAddr, int Fillin)
ElementPtr spcFindElementInCol (MatrixPtr Matrix, ElementPtr *LastAddr, int Row, int Col, int CreateIfMissing)
void spcLinkRows (MatrixPtr Matrix)
void spcRowExchange (MatrixPtr Matrix, int Row1, int Row2)
int spFactor (MatrixPtr Matrix)
int spOrderAndFactor (MatrixPtr Matrix, double *RHS, double RelThreshold, double AbsThreshold, int DiagPivoting)
void spPartition (MatrixPtr Matrix, int Mode)
static void UpdateMarkowitzNumbers (MatrixPtr Matrix, ElementPtr pPivot)
static int ZeroPivot (MatrixPtr Matrix, int Step)

Define Documentation

#define generic
#define spINSIDE_SPARSE

Definition at line 59 of file spfactor.cpp.


Function Documentation

static void CountMarkowitz ( MatrixPtr  Matrix,
double *  RHS,
int  Step 
) [static]
static ElementPtr CreateFillin ( MatrixPtr  Matrix,
int  Row,
int  Col 
) [static]
static void CreateInternalVectors ( MatrixPtr  Matrix  )  [static]
static void ExchangeColElements ( MatrixPtr  Matrix,
int  Row1,
ElementPtr  Element1,
int  Row2,
ElementPtr  Element2,
int  Column 
) [static]

Definition at line 2099 of file spfactor.cpp.

References MatrixFrame::FirstInCol, MatrixElement::NextInCol, and MatrixElement::Row.

Referenced by spcRowExchange().

static void ExchangeRowElements ( MatrixPtr  Matrix,
int  Col1,
ElementPtr  Element1,
int  Col2,
ElementPtr  Element2,
int  Row 
) [static]

Definition at line 2231 of file spfactor.cpp.

References MatrixElement::Col, MatrixFrame::FirstInRow, and MatrixElement::NextInRow.

Referenced by spcColExchange().

static void ExchangeRowsAndCols ( MatrixPtr  Matrix,
ElementPtr  pPivot,
int  Step 
) [static]
static double FindBiggestInColExclude ( MatrixPtr  Matrix,
ElementPtr  pElement,
int  Step 
) [static]
static double FindLargestInCol ( ElementPtr  pElement  )  [static]

Definition at line 1656 of file spfactor.cpp.

References ELEMENT_MAG, and MatrixElement::NextInCol.

Referenced by SearchEntireMatrix(), and spOrderAndFactor().

static void MarkowitzProducts ( MatrixPtr  Matrix,
int  Step 
) [static]
static int MatrixIsSingular ( MatrixPtr  Matrix,
int  Step 
) [static]
static ElementPtr QuicklySearchDiagonal ( MatrixPtr  Matrix,
int  Step 
) [static]
static void RealRowColElimination ( MatrixPtr  Matrix,
ElementPtr  pPivot 
) [static]
static ElementPtr SearchDiagonal ( MatrixPtr  Matrix,
int  Step 
) [static]
static ElementPtr SearchEntireMatrix ( MatrixPtr  Matrix,
int  Step 
) [static]
static ElementPtr SearchForPivot ( MatrixPtr  Matrix,
int  Step,
int  DiagPivoting 
) [static]
static ElementPtr SearchForSingleton ( MatrixPtr  Matrix,
int  Step 
) [static]
void spcColExchange ( MatrixPtr  Matrix,
int  Col1,
int  Col2 
)
ElementPtr spcCreateElement ( MatrixPtr  Matrix,
int  Row,
int  Col,
ElementPtr LastAddr,
int  Fillin 
)
ElementPtr spcFindElementInCol ( MatrixPtr  Matrix,
ElementPtr LastAddr,
int  Row,
int  Col,
int  CreateIfMissing 
)

Definition at line 372 of file spbuild.cpp.

References MatrixElement::NextInCol, MatrixElement::Row, and spcCreateElement().

Referenced by ExchangeRowsAndCols(), and spGetElement().

void spcLinkRows ( MatrixPtr  Matrix  ) 

Definition at line 672 of file spbuild.cpp.

void spcRowExchange ( MatrixPtr  Matrix,
int  Row1,
int  Row2 
)
int spFactor ( MatrixPtr  Matrix  ) 
int spOrderAndFactor ( MatrixPtr  Matrix,
double *  RHS,
double  RelThreshold,
double  AbsThreshold,
int  DiagPivoting 
)
void spPartition ( MatrixPtr  Matrix,
int  Mode 
)
static void UpdateMarkowitzNumbers ( MatrixPtr  Matrix,
ElementPtr  pPivot 
) [static]
static int ZeroPivot ( MatrixPtr  Matrix,
int  Step 
) [static]

Generated by  doxygen 1.6.2