MeatAxe
2.4
Programs for working with modular representations

Data Structures  
class  MatrixSet_t 
A set of matrices. More...  
Functions  
int  MsClean (const MatrixSet_t *set, Matrix_t *mat) 
Clean a matrix with a matrix set. More...  
int  MsCleanAndAppend (MatrixSet_t *set, Matrix_t *mat) 
Extend a matrix set. More...  
int  MsIsValid (const MatrixSet_t *set) 
Check a matrix set. More...  
MatrixSet_t *  MsAlloc () 
Allocate a matrix set. More...  
int  MsFree (MatrixSet_t *set) 
Free a matrix set. More...  
MatrixSet_t* MsAlloc  (  ) 
Allocate a matrix set.
This function allocates a new matrix set. The set is initially empty. When the set is no longer needed, if must be freed with MsFree().
int MsClean  (  const MatrixSet_t *  set, 
Matrix_t *  mat  
) 
Clean a matrix with a matrix set.
This function cleans a matrix with a matrix set by adding suitable multiples of the members of the set to the matrix. When the function returns, all pivot positions of mat, as defined by set, are zero.
set  Pointer to the matrix set. 
mat  Matrix to be cleaned. 
int MsCleanAndAppend  (  MatrixSet_t *  set, 
Matrix_t *  mat  
) 
Extend a matrix set.
This function cleans a matrix with a matrix by calling MsClean(). If the resulting matrix is nonzero, it is added to the matrix set, and the function returns 0. Otherwise the return value is 1, indicating that the matrix is now zero.
set  Pointer to the matrix set. 
mat  Matrix to be added. 
int MsFree  (  MatrixSet_t *  set  ) 
Free a matrix set.
This function frees a matrix set. All matrices in the set are freed, too.
set  Pointer to the matrix set. 
int MsIsValid  (  const MatrixSet_t *  set  ) 
Check a matrix set.
This function checks if the argument set is a pointer to a valid matrix. If the matrix set is valid, the function returns 1. Otherwise, an error is signalled and, if the error handler does not terminate the program, the function returns 0.
set  Pointer to the matrix set. 