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