Révision 555
Ajouté par Guillaume DAVID il y a presque 3 ans
branch/david_guillaume/sp4a3/sp4a3_kalman.c | ||
---|---|---|
}
|
||
|
||
void Inverse_Mat_22(int n,int m,double A[n][m],double B[n][m]){
|
||
|
||
float det;
|
||
|
||
det=A[0][0]*A[1][1]-A[1][0]*A[0][1];
|
||
|
||
B[0][0]=A[1][1]/det;
|
||
B[0][1]=-A[0][1]/det;
|
||
B[1][0]=-A[1][0]/det;
|
||
B[1][1]=A[0][0]/det;
|
||
}
|
||
|
||
void Transpose_Mat(int n,int m,double A[n][m],double R[m][n]){
|
Formats disponibles : Unified diff
ajout inversion matrice, erreur multiplication