6 #ifndef matrice_header_included
7 #define matrice_header_included
81 #define MATRICE_UNDEFINED ((matrice) NULL)
82 #define MATRICE_NULLE ((matrice) NULL)
85 #define matrice_new(n,m) ((matrice) malloc(sizeof(Value)*((n*m)+1)))
86 #define matrice_free(m) (free((char *) (m)))
94 #define ACCESS(matrix,column,i,j) ((matrix)[(((j)-1)*(column))+(i)])
101 #define DENOMINATOR(matrix) ((matrix)[0])
106 #define matrice_triangulaire_inferieure_p(a,n,m) \
107 matrice_triangulaire_p(a,n,m,true)
112 #define matrice_triangulaire_superieure_p(a,n,m) \
113 matrice_triangulaire_p(a,n,m,false)
120 #define ACC_ELEM(matrix,column,i,j,level) \
121 (matrix[((j)-1+(level))*(column) + (i) + (level)])
Value * matrice
package matrice
int mat_lig_nnul(matrice, int, int, int)
sous-matrice.c
void matrice_fscan(FILE *, matrice *, int *, int *)
void matrice_fscan(FILE * f, matrice * a, int * n, int * m): read an (nxm) rational matrix in an ASCI...
int matrice_hermite_rank(matrice, int, int)
void matrice_soustraction_colonne(matrice, int, int, int, int, Value)
int dim_H(matrice, int, int)
Calcul de la dimension de la matrice de Hermite H.
int mat_lig_el(matrice, int, int, int)
int mat_lig_el(matrice MAT, int n, int m, int level) renvoie le numero de colonne absolu du premier e...
void mat_maj_col(matrice, int, int, matrice, int)
void matrice_sous_determinant(matrice, int, int, int, Value[])
void matrice_soustraction_ligne(matrice, int, int, int, int, Value)
void matrice_soustraction_ligne(matrice MAT,int n,int m,int r1,int r2,int x): Soustrait x fois la lig...
void matrice_triangulaire_inversion(matrice, matrice, int, bool)
void matrice_triangulaire_inversion(matrice h, matrice inv_h, int n,bool infer) calcul de l'inversion...
void mat_coeff_nnul(matrice, int, int, int *, int *, int)
void mat_coeff_nnul(matrice MAT, int n, int m, int * lg_nnul, int * cl_nnul, int level) renvoie les c...
void matrice_hermite(Value *, int, int, Value *, Value *, Value *, Value *, Value *)
hermite.c
Value * matrice
Warning! Do not modify this file that is automatically generated!
bool matrice_triangulaire_p(matrice, int, int, bool)
bool matrice_triangulaire_p(matrice Z, int n, int m, bool inferieure): test de triangularite de la ma...
void matrice_multiply(matrice, matrice, matrice, int, int, int)
void matrice_multiply(matrice a, matrice b, matrice c, int p, int q, int r): multiply rational matrix...
void mat_min(matrice, int, int, int *, int *, int)
void mat_min(matrice MAT, int n, int m, int * i_min, int * j_min, int level): Recherche des coordonne...
void matrice_diagonale_inversion(matrice, matrice, int)
void matrice_diagonale_inversion(matrice s,matrice inv_s,int n) calcul de l'inversion du matrice en f...
void mat_perm_lig(matrice, int, int, int, int)
void matrice_identite(matrice, int, int)
void matrice_identite(matrice ID, int n, int level) Construction d'une sous-matrice identite dans ID(...
void matrice_print(matrice, int, int)
void matrice_print(matrice a, int n, int m): print an (nxm) rational matrix
bool matrice_triangulaire_unimodulaire_p(matrice, int, bool)
bool matrice_triangulaire_unimodulaire_p(matrice Z, int n, bool inferieure) test de la triangulaire e...
void matrice_unimodulaire_triangulaire_inversion(matrice, matrice, int, bool)
inversion.c
bool matrice_egalite(matrice, matrice, int, int)
bool matrice_egalite(matrice A, matrice B, int n, int m) test de l'egalite de deux matrices A et B; e...
void matrice_smith(matrice, int, int, matrice, matrice, matrice)
smith.c
void matrice_determinant(matrice, int, Value[])
definition temporaire d'une vraie fonction pour dbx
void matrice_normalizec(matrice, int, int)
void matrice_normalizec(matrice MAT, int n, int m): Normalisation des coefficients de la matrice MAT,...
void matrice_swap_rows(matrice, int, int, int, int)
void matrice_swap_rows(matrice a, int n, int m, int r1, int r2): exchange rows r1 and r2 of an (nxm) ...
void matrice_substract(matrice, matrice, matrice, int, int)
void matrice_substract(matrice a, matrice b, matrice c, int n, int m): substract rational matrix c fr...
bool matrice_diagonale_p(matrice, int, int)
bool matrice_diagonale_p(matrice Z, int n, int m): test de nullite de la matrice Z
void matrice_assign(matrice, matrice, int, int)
void matrice_assign(matrice A, matrice B, int n, int m) Copie de la matrice A dans la matrice B
void matrice_fprint(FILE *, matrice, int, int)
matrice_io.c
void mat_maj_lig(matrice, int, int, matrice, int)
void mat_maj_lig(matrice A, int n, int m, matrice Q, int level): Calcul de la matrice permettant de r...
void matrice_nulle(matrice, int, int)
void matrice_nulle(matrice Z, int n, int m): Initialisation de la matrice Z a la valeur matrice nulle
void matrice_normalize(matrice, int, int)
void matrice_normalize(matrice a, int n, int m)
bool matrice_identite_p(matrice, int, int)
bool matrice_identite_p(matrice ID, int n, int level) test d'une sous-matrice dans ID(level+1....
void matrice_transpose(matrice, matrice, int, int)
matrice.c
void mat_perm_col(matrice, int, int, int, int)
int mat_col_el(matrice, int, int, int)
void matrice_general_inversion(matrice, matrice, int)
void matrice_general_inversion(matrice a; matrice inv_a; int n) calcul de l'inversion du matrice gene...
bool matrice_nulle_p(matrice, int, int)
bool matrice_nulle_p(matrice Z, int n, int m): test de nullite de la matrice Z
void matrice_swap_columns(matrice, int, int, int, int)
void matrice_swap_columns(matrice matrix, int n, int m, int c1, int c2): exchange columns c1,...
void matrice_unimodulaire_inversion(matrice, matrice, int)
void matrice_unimodulaire_inversion(matrice u, matrice inv_u, int n) calcul de l'inversion de la matr...