00001 #include "spConfig.h"
00002 #include "spmatrix.h"
00003 #include "spDefs.h"
00004 #include "spmalloc.h"
00005
00006 #if TRANSLATE AND DELETE
00007 void spDeleteRowAndCol( char *eMatrix, int Row, int Col );
00008 #endif
00009
00010 static int CountTwins(MatrixPtr Matrix, int Col, ElementPtr *ppTwin1, ElementPtr *ppTwin2 );
00011
00012
00013 static int SwapCols( MatrixPtr Matrix, ElementPtr pTwin1, ElementPtr pTwin2 );
00014
00015 #if spCOMPLEX AND SCALING
00016 static void ScaleComplexMatrix( MatrixPtr Matrix, register RealVector RHS_ScaleFactors, register RealVector SolutionScaleFactors );
00017 #endif
00018
00019 #if spCOMPLEX AND MULTIPLICATION
00020 static void ComplexMatrixMultiply( MatrixPtr Matrix, RealVector RHS , RealVector Solution IMAG_VECTORS );
00021 #endif
00022
00023 #if spCOMPLEX AND MULTIPLICATION AND TRANSPOSE
00024 static void
00025 ComplexTransposedMatrixMultiply( MatrixPtr Matrix, RealVector RHS, RealVector Solution IMAG_VECTORS );
00026 #endif
00027
00028 #if spCOMPLEX
00029 static RealNumber ComplexCondition( MatrixPtr Matrix, RealNumber NormOfMatrix, int *pError );
00030 #endif