#include #include #include "ddot.h" double * allocationVecteur(int n) { double * v = malloc(n*sizeof(double)); return v; } double * allocationMatrice(int n,int m) { double * mat = malloc(m*n*sizeof(double)); return mat; } void deallocationVecteur(double * v) { free(v); } void deallocationMatrice(double ** mat) { free(mat); } void initialisationVecteur(double * v, int n) { int i; for (i=0;i