SIFEL/GEFEL/LAPACK/sputils.cpp File Reference

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

Go to the source code of this file.

Defines

#define NORM(a)   (nr = ABSS((a).Real), ni = ABSS((a).Imag), MAX (nr,ni))
#define SLACK   1e4
#define spINSIDE_SPARSE

Functions

static int CountTwins (MatrixPtr Matrix, int Col, ElementPtr *ppTwin1, ElementPtr *ppTwin2)
void spcLinkRows (MatrixPtr Matrix)
double spCondition (MatrixPtr Matrix, double NormOfMatrix, int *pError)
void spDeterminant (MatrixPtr Matrix, int *pExponent, double *pDeterminant)
double spLargestElement (MatrixPtr Matrix)
void spMNA_Preorder (MatrixPtr Matrix)
void spMultiply (MatrixPtr Matrix, double *RHS, double *Solution)
void spMultTransposed (MatrixPtr Matrix, double *RHS, double *Solution)
double spNorm (MatrixPtr Matrix)
double spPseudoCondition (MatrixPtr Matrix)
double spRoundoff (MatrixPtr Matrix, double Rho)
void spScale (MatrixPtr Matrix, double *RHS_ScaleFactors, double *SolutionScaleFactors)
void spStripFills (MatrixPtr Matrix)
static void SwapCols (MatrixPtr Matrix, ElementPtr pTwin1, ElementPtr pTwin2)

Define Documentation

#define NORM (  )     (nr = ABSS((a).Real), ni = ABSS((a).Imag), MAX (nr,ni))

Referenced by spDeterminant().

#define SLACK   1e4

Referenced by spCondition().

#define spINSIDE_SPARSE

Definition at line 64 of file sputils.cpp.


Function Documentation

static int CountTwins ( MatrixPtr  Matrix,
int  Col,
ElementPtr ppTwin1,
ElementPtr ppTwin2 
) [static]
void spcLinkRows ( MatrixPtr  Matrix  ) 
double spCondition ( MatrixPtr  Matrix,
double  NormOfMatrix,
int *  pError 
)
void spDeterminant ( MatrixPtr  Matrix,
int *  pExponent,
double *  pDeterminant 
)
double spLargestElement ( MatrixPtr  Matrix  ) 
void spMNA_Preorder ( MatrixPtr  Matrix  ) 
void spMultiply ( MatrixPtr  Matrix,
double *  RHS,
double *  Solution 
)
void spMultTransposed ( MatrixPtr  Matrix,
double *  RHS,
double *  Solution 
)
double spNorm ( MatrixPtr  Matrix  ) 
double spPseudoCondition ( MatrixPtr  Matrix  ) 

Definition at line 1114 of file sputils.cpp.

References ASSERT, MatrixFrame::Diag, ELEMENT_MAG, MatrixFrame::Error, IS_FACTORED, IS_SPARSE, and MatrixFrame::Size.

Referenced by main().

double spRoundoff ( MatrixPtr  Matrix,
double  Rho 
)
void spScale ( MatrixPtr  Matrix,
double *  RHS_ScaleFactors,
double *  SolutionScaleFactors 
)
void spStripFills ( MatrixPtr  Matrix  ) 
static void SwapCols ( MatrixPtr  Matrix,
ElementPtr  pTwin1,
ElementPtr  pTwin2 
) [static]

Generated by  doxygen 1.6.2