51 #define MALLOC(s,t,f) malloc(s)
52 #define FREE(s,t,f) free(s)
82 for (i =
level+1; i<=n && !trouve ; i++) {
123 for (i=1;i<=
level; i++)
127 for (i=1+
level,j=k; i<=n; i++,j++)
129 if (j == n+1) j = 1 +
level;
158 for (i = 1; i <=
level;i++)
211 for (i=1+
level;i<=n && !trouve;i++)
212 for(j =
level+1; j <= m && !trouve; j++) {
222 for (i=1+
level;i<=n;i++)
268 for (i=2+
level; i<=n; i++) {
305 for (j=2+
level; j<=m; j++) {
328 for(i =
level+1; i <= n; i++) {
329 for(j =
level+1; j <= n; j++)
358 for(i =
level+1; i <= n; i++) {
359 for(j =
level+1; j <= n; j++) {
423 int *lg_nnul,*cl_nnul;
440 for (j=1+
level;j<=m && !trouve; j++) {
473 int i, j, i_sub, j_sub;
475 for(i = i1, i_sub = 1; i <= i2; i++, i_sub ++)
476 for(j = j1, j_sub = 1; j <= j2; j++, j_sub ++)
499 for (i = i1, i_sub = 1; i <= i2; i++, i_sub ++)
500 for(j = j1, j_sub = 1; j <= j2; j++, j_sub ++)
#define value_notzero_p(val)
#define value_uminus(val)
unary operators on values
#define value_notone_p(val)
#define value_division(ref, val)
#define value_div(v1, v2)
#define A(i, j)
comp_matrice.c
#define SUB_MATRIX_ELEM(matrix, i, j, level)
MATRIX_RIGHT_INF_ELEM Permet d'acceder des sous-matrices dont le coin infe'rieur droit (i....
#define MATRIX_NB_LINES(matrix)
#define MATRIX_NB_COLUMNS(matrix)
#define MATRIX_DENOMINATOR(matrix)
int MATRIX_DENONIMATOR(matrix): acces au denominateur global d'une matrice matrix
#define MATRIX_ELEM(matrix, i, j)
Macros d'acces aux elements d'une matrice.
void matrix_nulle(Pmatrix Z)
void matrix_nulle(Pmatrix Z): Initialisation de la matrice Z a la valeur matrice nulle
void insert_sub_matrix(Pmatrix A, Pmatrix A_sub, int i1, int i2, int j1, int j2)
void insert_sub_matrix(A, A_sub, i1, i2, j1, j2) input: matrix A and smaller A_sub output: nothing mo...
int matrix_line_el(Pmatrix MAT, int level)
int matrix_line_el(Pmatrix MAT, int level) renvoie le numero de colonne absolu du premier element non...
void matrix_maj_col(Pmatrix A, Pmatrix P, int level)
void matrix_maj_col(Pmatrix A, matrice P, int level): Calcul de la matrice permettant de remplacer ch...
void matrix_min(Pmatrix MAT, int *i_min, int *j_min, int level)
void matrix_min(Pmatrix MAT, int * i_min, int * j_min, int level): Recherche des coordonnees (*i_min,...
void matrix_perm_line(Pmatrix MAT, int k, int level)
void matrix_perm_line(Pmatrix MAT, int k, int level): Calcul de la matrice de permutation permettant...
int matrix_col_el(Pmatrix MAT, int level)
int matrix_col_el(Pmatrix MAT, int level) renvoie le numero de ligne absolu du premier element non nu...
void matrix_identity(Pmatrix ID, int level)
void matrix_identity(Pmatrix ID, int level) Construction d'une sous-matrice identity dans ID(level+1....
bool matrix_identity_p(Pmatrix ID, int level)
bool matrix_identity_p(Pmatrix ID, int level) test d'une sous-matrice dans ID(level+1....
void matrix_maj_line(Pmatrix A, Pmatrix Q, int level)
void matrix_maj_line(Pmatrix A, matrice Q, int level): Calcul de la matrice permettant de remplacer c...
void matrix_perm_col(Pmatrix MAT, int k, int level)
void matrix_perm_col(Pmatrix MAT, int k, int level): Calcul de la matrice de permutation permettant ...
void ordinary_sub_matrix(Pmatrix A, Pmatrix A_sub, int i1, int i2, int j1, int j2)
void ordinary_sub_matrix(Pmatrix A, A_sub, int i1, i2, j1, j2) input : a initialized matrix A,...
void matrix_coeff_nnul(Pmatrix MAT, int *lg_nnul, int *cl_nnul, int level)
void matrix_coeff_nnul(Pmatrix MAT, int * lg_nnul, int * cl_nnul, int level) renvoie les coordonnees ...
int matrix_line_nnul(Pmatrix MAT, int level)
int matrix_line_nnul(matrice MAT,int level): Recherche de la premiere ligne non nulle de la la sous-m...