Projet

Général

Profil

« Précédent | Suivant » 

Révision 526

Ajouté par Titouan PODGORSKI il y a presque 3 ans

Ajout Fonction Inversion

Voir les différences:

branch/Podgorski/sp4a3/sp4a3_kalman.c
}
}
void Inverse_Mat_22(int n,int m,double A[n][m],double B[n][m]){
void Inverse_Mat_22(int n,int m,double A[n][m],double Res[n][m]){
double determinant=1/((A[0][0]*A[1][1])-(A[0][1]*A[1][0]));
Res[0][0]=A[1][1]*determinant;
Res[1][1]=A[0][0]*determinant;
Res[0][1]=-A[0][1]*determinant;
Res[1][0]=-A[1][0]*determinant;
//printf("\n %f %f\n %f %f\n",R[0][0] ,R[0][1] ,R[1][0] ,R[1][1]);
}
void Transpose_Mat(int n,int m,double A[n][m],double R[m][n]){

Formats disponibles : Unified diff