Chapter 7.1 : What is a Saxpy ?

Saxpy is the accronym for :

Single precision A X plus Y

Mathematicaly it is :
nothing

In C++ code :

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