void function ( DoubleVector arg0 ) { double loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . length ( ) ; ++ loc1 ) loc0 += Math . pow ( arg0 . get ( loc1 ) , 2 ) ; if ( loc0 == 0 ) return ; loc0 = Math . sqrt ( loc0 ) ; for ( int loc1 = 0 ; loc1 < arg0 . length ( ) ; ++ loc1 ) arg0 . set ( loc1 , arg0 . get ( loc1 ) / loc0 ) ; }
performs l2-normalization on the vector in place . if the magnitude of the vector is 0 , the values are left unchanged . concode_field_sep int CONTEXT_SIZE concode_elem_sep ConcurrentMap<String,DoubleVector> termHolographs concode_elem_sep int nextSize concode_elem_sep int[] permute1 concode_elem_sep int[] permute2 concode_elem_sep Map<String,DoubleVector> vectorMap concode_elem_sep SemanticType semanticType concode_elem_sep int indexVectorSize concode_elem_sep Logger LOGGER concode_elem_sep String BEAGLE_SSPACE_NAME concode_elem_sep int prevSize concode_elem_sep DoubleVector placeHolder concode_field_sep void processSpace concode_elem_sep String getSpaceName concode_elem_sep void updateMeaning concode_elem_sep DoubleVector convolute concode_elem_sep DoubleVector changeVector concode_elem_sep DoubleVector getVector concode_elem_sep void processDocument concode_elem_sep int getVectorLength concode_elem_sep DoubleVector groupConvolution concode_elem_sep void randomPermute concode_elem_sep Set<String> getWords