Révision 556
Ajouté par Louis JACQUET il y a presque 3 ans
branch/JACQUET/sp4a3/sp4a3_kalman.c | ||
---|---|---|
}
|
||
|
||
void Transpose_Mat(int n,int m,double A[n][m],double R[m][n]){
|
||
int i,j;
|
||
for (i=0;i<n;i++)
|
||
for (j=0;j<m;j++)
|
||
R[j][i]=A[i][j];
|
||
int i,j;
|
||
for (i=0;i<n;i++)
|
||
for (j=0;j<m;j++)
|
||
R[j][i]=A[i][j];
|
||
}
|
||
|
||
void Sub_Mat_Mat(int na,int ma,double A[na][ma],int nb,int mb,double B[nb][mb], double R[na][ma]){
|
||
|
||
void Sub_Mat_Mat(int na,int ma,double A[na][ma],int nb,int mb,double B[nb][mb], double R[na][ma]){ //Meme principe que Add mais avec un -
|
||
int i,j;
|
||
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
ajout proc sub