#include <stdio.h>#include "spConfig.h"#include "spMatrix.h"#include "spDefs.h"Functions | |
| spMatrix | spCreate (int Size, int Complex, spError *pError) |
| ElementPtr | spcGetElement (MatrixPtr Matrix) |
| ElementPtr | spcGetFillin (MatrixPtr Matrix) |
| void | spDestroy (spMatrix eMatrix) |
| spError | spErrorState (spMatrix eMatrix) |
| void | spWhereSingular (spMatrix eMatrix, int *pRow, int *pCol) |
| int | spGetSize (spMatrix eMatrix, int External) |
| void | spSetReal (spMatrix eMatrix) |
| void | spSetComplex (spMatrix eMatrix) |
| int | spFillinCount (spMatrix eMatrix) |
| int | spElementCount (spMatrix eMatrix) |
Variables | |
| char | spcMatrixIsNotValid [] = "Matrix passed to Sparse is not valid" |
| char | spcErrorsMustBeCleared [] = "Error not cleared" |
| char | spcMatrixMustBeFactored [] = "Matrix must be factored" |
| char | spcMatrixMustNotBeFactored [] = "Matrix must not be factored" |
Objects that begin with the spc prefix are considered private and should not be used.
|
||||||||||||||||
|
Allocates and initializes the data structures associated with a matrix.
|
|
|
Destroys a matrix and frees all memory associated with it.
|
|
|
This function returns the total number of elements (including fill-ins) that currently exists in a matrix.
|
|
|
This function returns the error status of the given matrix.
|
|
|
This function returns the number of fill-ins that currently exists in a matrix.
|
|
||||||||||||
|
Returns the size of the matrix. Either the internal or external size of the matrix is returned.
|
|
|
Forces matrix to be complex.
|
|
|
Forces matrix to be real.
|
|
||||||||||||||||
|
This function returns the row and column number where the matrix was detected as singular (if pivoting was allowed on the last factorization) or where a zero was detected on the diagonal (if pivoting was not allowed on the last factorization). Pivoting is performed only in spOrderAndFactor().
|
1.2.17