+
+ gsl_matrix_complex_sub(tmpmatrix2, evecres);
+ for (int i=0; i<4; i++)
+ for (int j=0; j<4; j++) {
+ gsl_complex tmperr =
+ gsl_complex_rect( pow(GSL_REAL( gsl_matrix_complex_get( tmpmatrix2, i, j ) ),2),
+ pow(GSL_IMAG( gsl_matrix_complex_get( tmpmatrix2, i, j ) ),2));
+ gsl_matrix_complex_set(tmpmatrix, i, j, tmperr);
+ }
+ gsl_matrix_complex_add( evecerrornorm, tmpmatrix );