returns the index of the eigenvalue which has the largest magnitude . concode_field_sep DenseMatrix64F mat concode_elem_sep EigenDecomposition<DenseMatrix64F> eig concode_field_sep Complex64F getEigenvalue concode_elem_sep T getEigenVector concode_elem_sep EigenDecomposition getEVD concode_elem_sep int getNumberOfEigenvalues concode_elem_sep int getIndexMin concode_elem_sep double quality
int function ( ) { int loc0 = 0 ; double loc1 = getEigenvalue ( 0 ) . getMagnitude2 ( ) ; final int loc2 = getNumberOfEigenvalues ( ) ; for ( int loc3 = 1 ; loc3 < loc2 ; loc3 ++ ) { double loc4 = getEigenvalue ( loc3 ) . getMagnitude2 ( ) ; if ( loc4 > loc1 ) { loc1 = loc4 ; loc0 = loc3 ; } } return loc0 ; }