SIFEL/GEFEL/LAPACK/spallocate.cpp File Reference

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

Go to the source code of this file.

Defines

#define spINSIDE_SPARSE
#define spNO_MEMORY   4

Functions

static void AllocateBlockOfAllocationList (MatrixPtr Matrix)
static void InitializeElementBlocks (MatrixPtr Matrix, int InitialNumberOfElements, int NumberOfFillinsExpected)
static void RecordAllocation (MatrixPtr Matrix, char *AllocatedPtr)
ElementPtr spcGetElement (MatrixPtr Matrix)
ElementPtr spcGetFillin (MatrixPtr Matrix)
MatrixPtr spCreate (int Size, int *pError)
void spDestroy (MatrixPtr Matrix)
int spElementCount (MatrixPtr Matrix)
int spError (MatrixPtr Matrix)
int spGetSize (MatrixPtr Matrix, int External)
void spWhereSingular (MatrixPtr Matrix, int *pRow, int *pCol)

Define Documentation

#define spINSIDE_SPARSE

Definition at line 80 of file spallocate.cpp.

#define spNO_MEMORY   4

Function Documentation

static void AllocateBlockOfAllocationList ( MatrixPtr  Matrix  )  [static]
static void InitializeElementBlocks ( MatrixPtr  Matrix,
int  InitialNumberOfElements,
int  NumberOfFillinsExpected 
) [static]
static void RecordAllocation ( MatrixPtr  Matrix,
char *  AllocatedPtr 
) [static]
ElementPtr spcGetElement ( MatrixPtr  Matrix  ) 
ElementPtr spcGetFillin ( MatrixPtr  Matrix  ) 
MatrixPtr spCreate ( int  Size,
int *  pError 
)
void spDestroy ( MatrixPtr  Matrix  ) 
int spElementCount ( MatrixPtr  Matrix  ) 

Definition at line 620 of file spallocate.cpp.

References ASSERT, MatrixFrame::Elements, and IS_SPARSE.

Referenced by main().

int spError ( MatrixPtr  Matrix  ) 

Definition at line 558 of file spallocate.cpp.

References ASSERT, MatrixFrame::Error, MatrixFrame::ID, SPARSE_ID, and spNO_MEMORY.

Referenced by novaMatice(), and ReadMatrixFromFile().

int spGetSize ( MatrixPtr  Matrix,
int  External 
)

Definition at line 607 of file spallocate.cpp.

References ASSERT, MatrixFrame::ExtSize, IS_SPARSE, and MatrixFrame::Size.

Referenced by main(), and ReadMatrixFromFile().

void spWhereSingular ( MatrixPtr  Matrix,
int *  pRow,
int *  pCol 
)

Generated by  doxygen 1.6.2