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 90 of file Matop.c.

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

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

Definition at line 72 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 45 of file Matop.c.

References Lcm3(), and value_init.

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

Definition at line 22 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 230 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 249 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 210 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 188 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 340 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 322 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 303 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 Nov 25 17:45:27 2009 for polylib by  doxygen 1.6.1