Révision 532
Ajouté par Victor SOUDY il y a presque 3 ans
branch/SOUDY/spa3/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 R[n][m])
|
||
{
|
||
double det=1/((A[0][0]*A[1][1])-(A[0][1]*A[1][0]));
|
||
R[0][0]=A[1][1]*det;
|
||
R[1][1]=A[0][0]*det;
|
||
R[0][1]=-A[0][1]*det;
|
||
R[1][0]=-A[1][0]*det;
|
||
}
|
||
|
||
|
||
|
||
|
||
void Mul_Mat_Mat(int na,int ma,double A[na][ma], int nb,int mb,double B[nb][mb], double R[na][mb]){
|
||
|
||
}
|
Formats disponibles : Unified diff
ajout de la fonction Inverse_Mat_22