Chapter 3.1 : Conception du projet



Dans cette partie, nous allons développer des tests pour évaluer l'impact des valeurs exotiques sur les performances d'un produit de hadamard.

Un produit de hadamard est un produit de deux vecteurs de taille N, élément par élément :



nothing


Une implémentation C++ donne typiquement :



1
2
3
4
5
void hadamard_product(float* tabResult, const float * tabX, const float* tabY, long unsigned int nbElement){
	for(long unsigned int i(0lu); i < nbElement; ++i){
		tabResult[i] = tabX[i]*tabY[i];
	}
}