Révision 505
Ajouté par Orlani RIVERA il y a presque 3 ans
branch/RIVERA_Orlani/sp4a3/sp4a3_kalman.c | ||
---|---|---|
}
|
||
|
||
void Sub_Mat_Mat(int na,int ma,double A[na][ma],int nb,int mb,double B[nb][mb], double R[na][ma]){
|
||
|
||
int i,j;
|
||
na=nb;
|
||
ma=mb;
|
||
for (i=0;i<na;i++)
|
||
{
|
||
for (j=0;j<ma;j++)
|
||
{
|
||
R[i][j]=A[i][j]-B[i][j];
|
||
}
|
||
}
|
||
}
|
||
|
||
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
implantation de la fonction sub du TP3.