compute the distance into the one dimensional factortable array that corresponds to a setting of all the neighbors of the factor . concode_field_sep T[] values concode_elem_sep int[] dimensions concode_field_sep int[] getDimensions concode_elem_sep Iterator<int[]> iterator concode_elem_sep Iterator<int[]> fastPassByReferenceIterator concode_elem_sep NDArray<T> cloneArray concode_elem_sep int combinatorialNeighborStatesCount concode_elem_sep void setAssignmentValue concode_elem_sep T getAssignmentValue
int function ( int [ ] arg0 ) { assert ( arg0 . length == dimensions . length ) ; int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { assert ( arg0 [ loc1 ] < dimensions [ loc1 ] ) ; loc0 = ( loc0 * dimensions [ loc1 ] ) + arg0 [ loc1 ] ; } return loc0 ; }