Révision 504
Ajouté par Orlani RIVERA il y a presque 3 ans
branch/RIVERA_Orlani/sp4a3/sp4a3_kalman.c | ||
---|---|---|
}
|
||
|
||
void Inverse_Mat_22(int n,int m,double A[n][m],double B[n][m]){
|
||
|
||
int i,j;
|
||
double det;
|
||
det=1/(A[0][0]*A[1][1]-A[0][1]*A[1][0]);
|
||
B[0][0]=det*A[1][1];
|
||
B[1][1]=det*A[0][0];
|
||
B[0][1]=-det*A[0][1];
|
||
B[1][0]=-det*A[1][0];
|
||
}
|
||
|
||
void Transpose_Mat(int n,int m,double A[n][m],double R[m][n]){
|
Formats disponibles : Unified diff
implantation de la fonction inverse du TP3.