Révision 460
Ajouté par Abdou FAYE il y a presque 3 ans
branch/faye/sp4a3/sp4a3_kalman.c | ||
---|---|---|
#include "sp4a3_kalman_extra.h"
|
||
|
||
|
||
void Add_Mat_Mat(int na,int ma,double A[na][ma],int nb,int mb,double B[nb][mb], double R[na][ma]){
|
||
void Add_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; // variables permettant à parcourir l'ensembles des deux matrices en lignes et colonnes
|
||
for (i=0; i<na; i++)
|
||
for (j=0; j<ma; j++) //Boucle imbriquées nous permettant d'initialiser nos matrices( tableau) en lignes et en colonnes.
|
||
R[i][j] = A[i][j]+B[i][j]; // Addition de matrices se fait termes à termes
|
||
|
||
}
|
||
|
||
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 B[n][m]){
|
||
|
||
|
||
|
||
}
|
||
|
||
void Transpose_Mat(int n,int m,double A[n][m],double R[m][n]){
|
Formats disponibles : Unified diff
implentation de l'addition