Matop.h File Reference

Go to the source code of this file.

Functions

void Lcm3 (Value a, Value b, Value *c)
MatrixAddANullColumn (Matrix *M)
MatrixAddANullRow (Matrix *M)
void ExchangeColumns (Matrix *M, int Column1, int Column2)
void ExchangeRows (Matrix *M, int Row1, int Row2)
int findHermiteBasis (Matrix *M, Matrix **Result)
MatrixIdentity (unsigned size)
Bool isinHnf (Matrix *A)
Bool isIntegral (Matrix *A)
Value * Lcm (Value i, Value j)
MatrixMatrix_Copy (Matrix const *Src)
void PutColumnFirst (Matrix *X, int Columnnumber)
void PutColumnLast (Matrix *X, int Columnnumber)
void PutRowFirst (Matrix *X, int Rownumber)
void PutRowLast (Matrix *X, int Rownumber)
MatrixRemoveNColumns (Matrix *M, int FirstColumnnumber, int NumColumns)
MatrixRemoveColumn (Matrix *M, int Columnnumber)
MatrixRemoveRow (Matrix *M, int Rownumber)
MatrixTranspose (Matrix *A)


Function Documentation

Matrix* AddANullColumn ( Matrix M  ) 

Matrix* AddANullRow ( Matrix M  ) 

void ExchangeColumns ( Matrix M,
int  Column1,
int  Column2 
)

Definition at line 73 of file Matop.c.

References matrix::NbRows, matrix::p, and value_swap.

void ExchangeRows ( Matrix M,
int  Row1,
int  Row2 
)

Definition at line 55 of file Matop.c.

References matrix::NbColumns, matrix::p, value_assign, value_clear, and value_init.

Referenced by Constraints2Polyhedron(), and RearrangeMatforSolveDio().

int findHermiteBasis ( Matrix M,
Matrix **  Result 
)

Matrix* Identity ( unsigned  size  ) 

Bool isinHnf ( Matrix A  ) 

Bool isIntegral ( Matrix A  ) 

Value* Lcm ( Value  i,
Value  j 
)

Definition at line 28 of file Matop.c.

References Lcm3(), and value_init.

void Lcm3 ( Value  a,
Value  b,
Value *  c 
)

Definition at line 5 of file Matop.c.

References Gcd(), value_absolute, value_assign, value_clear, value_division, value_init, value_multiply, and value_zero_p.

Referenced by Lcm().

Matrix* Matrix_Copy ( Matrix const *  Src  ) 

void PutColumnFirst ( Matrix X,
int  Columnnumber 
)

Definition at line 213 of file Matop.c.

References matrix::NbRows, matrix::p, value_assign, value_clear, and value_init.

Referenced by Homogenise().

void PutColumnLast ( Matrix X,
int  Columnnumber 
)

Definition at line 232 of file Matop.c.

References matrix::NbColumns, matrix::NbRows, matrix::p, value_assign, value_clear, and value_init.

Referenced by Homogenise().

void PutRowFirst ( Matrix X,
int  Rownumber 
)

Definition at line 193 of file Matop.c.

References matrix::NbColumns, matrix::p, value_assign, value_clear, and value_init.

Referenced by Homogenise().

void PutRowLast ( Matrix X,
int  Rownumber 
)

Definition at line 171 of file Matop.c.

References matrix::NbColumns, matrix::NbRows, matrix::p, value_assign, value_clear, and value_init.

Referenced by Homogenise().

Matrix* RemoveColumn ( Matrix M,
int  Columnnumber 
)

Definition at line 323 of file Matop.c.

References Matrix_Alloc(), matrix::NbColumns, matrix::NbRows, matrix::p, and Vector_Copy().

Referenced by FindHermiteBasisofDomain().

Matrix* RemoveNColumns ( Matrix M,
int  FirstColumnnumber,
int  NumColumns 
)

Definition at line 305 of file Matop.c.

References Matrix_Alloc(), matrix::NbColumns, matrix::NbRows, matrix::p, and Vector_Copy().

Matrix* RemoveRow ( Matrix M,
int  Rownumber 
)

Definition at line 286 of file Matop.c.

References Matrix_Alloc(), matrix::NbColumns, matrix::NbRows, matrix::p, and Vector_Copy().

Referenced by findHermiteBasis().

Matrix* Transpose ( Matrix A  ) 


Generated on Wed Jul 2 16:22:47 2008 for polylib by  doxygen 1.5.6