metoda normalizira trenutni vektor . concode_field_sep PlaceHolder placeHolder concode_field_sep IVector add concode_elem_sep IVector nAdd concode_elem_sep IVector sub concode_elem_sep IVector nSub concode_elem_sep IVector nNormalize concode_elem_sep IVector scalarMultiply concode_elem_sep IVector nVectorProduct concode_elem_sep IMatrix toColumnMatrix concode_elem_sep IVector nFromHomogeneus concode_elem_sep double norm concode_elem_sep double scalarProduct concode_elem_sep IVector nScalarMultiply concode_elem_sep double cosine concode_elem_sep double[] toArray concode_elem_sep String toString concode_elem_sep IVector copyPart concode_elem_sep IMatrix toRowMatrix
IVector function ( ) { Double loc0 = this . norm ( ) ; for ( int loc1 = 0 ; loc1 < this . getDimension ( ) ; loc1 ++ ) { this . set ( loc1 , this . get ( loc1 ) / loc0 ) ; } return this ; }