Révision 527
Ajouté par Khalid YAZID il y a presque 3 ans
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;
|
||
if(na==nb && ma==mb){
|
||
for (int i = 0; i < na; i++){
|
||
for (int j = 0; j < mb; j++){
|
||
R[i][j] = A[i][j] - B[i][j]; // faire la soustraction membre a membre de
|
||
}
|
||
}
|
||
}
|
||
else{
|
||
printf("Dimensions trop grandes\n");
|
||
}
|
||
}
|
||
|
||
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 DE SOUSTRACTION