Main Page   Compound List   File List   Compound Members   File Members  

Matop.c File Reference

#include <stdlib.h>
#include <polylib/polylib.h>

Go to the source code of this file.

Functions

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


Function Documentation

Matrix* AddANullColumn Matrix   M
 

Definition at line 297 of file Matop.c.

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

Matrix* AddANullRow Matrix   M
 

Definition at line 279 of file Matop.c.

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

void ExchangeColumns Matrix   M,
int    Column1,
int    Column2
 

Definition at line 64 of file Matop.c.

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

void ExchangeRows Matrix   M,
int    Row1,
int    Row2
 

Definition at line 41 of file Matop.c.

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

int findHermiteBasis Matrix   M,
Matrix **    Result
 

Definition at line 353 of file Matop.c.

References AddANullColumn(), AddANullRow(), Hermite(), Identity(), Matrix_Alloc(), Matrix_Copy(), Matrix_Free(), matrix::NbColumns, matrix::NbRows, matrix::p, RemoveRow(), SolveDiophantine(), Transpose(), value_assign, value_notzero_p, value_zero_p, and Vector_Free().

Matrix* Identity unsigned    size
 

Definition at line 24 of file Matop.c.

References Matrix_Alloc(), matrix::p, and value_set_si.

Bool isinHnf Matrix   A
 

Definition at line 140 of file Matop.c.

References Bool, False, Homogenise(), Matrix_Free(), matrix::NbColumns, matrix::NbRows, matrix::p, True, value_assign, value_clear, value_ge, value_init, and value_notzero_p.

Bool isIntegral Matrix   A
 

Definition at line 117 of file Matop.c.

References Bool, False, matrix::NbColumns, matrix::NbRows, matrix::p, True, value_assign, value_clear, value_init, value_modulus, and value_notzero_p.

Value* Lcm Value    i,
Value    j
 

Definition at line 7 of file Matop.c.

References Gcd(), value_clear, value_division, value_init, and value_multiply.

Matrix* Matrix_Copy Matrix   Src
 

Definition at line 101 of file Matop.c.

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

void PutColumnFirst Matrix   X,
int    Columnnumber
 

Definition at line 225 of file Matop.c.

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

void PutColumnLast Matrix   X,
int    Columnnumber
 

Definition at line 252 of file Matop.c.

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

void PutRowFirst Matrix   X,
int    Rownumber
 

Definition at line 198 of file Matop.c.

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

void PutRowLast Matrix   X,
int    Rownumber
 

Definition at line 170 of file Matop.c.

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

Matrix* RemoveColumn Matrix   M,
int    Columnnumber
 

Definition at line 332 of file Matop.c.

References Matrix_Alloc(), Matrix_Copy(), matrix::NbColumns, matrix::NbRows, matrix::p, PutColumnLast(), and value_assign.

Matrix* RemoveRow Matrix   M,
int    Rownumber
 

Definition at line 314 of file Matop.c.

References Matrix_Alloc(), Matrix_Copy(), matrix::NbColumns, matrix::NbRows, matrix::p, PutRowLast(), and value_assign.

Matrix* Transpose Matrix   A
 

Definition at line 86 of file Matop.c.

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


Generated on Mon Mar 15 10:59:52 2004 for polylib by doxygen1.2.18