#include #include using namespace std; float norm(float* v, int dimension) { float tmp=0; for (int i=0; i