Projet

Général

Profil

« Précédent | Suivant » 

Révision 515

implantation fonction addition

Voir les différences:

branch/MARIMOUTOU_Mourougen/spa3/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;
for(i=0;i<na;i++)
{
for(j=0;j<ma;j++)
{
R[i][j]=A[i][j]+B[i][j];
}
}
}
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]){
void Transpose_Mat(int n,int m,double A[n][m],double R[m][n])
{
int i,j;
for (i=0;i<n;i++)
{

Formats disponibles : Unified diff