Find a divisor between divisor_from and divisor_to such that
sum(round_func(votes/divisor)) equals target_seats
find_divisor(votes, divisor_from, divisor_to, target_seats, round_func)divisor (single number)
Votes (matrix with only one column or row, allows to use row/colnames
within round_func)
Lower bound for divisor search range (is decreased if necessary)
Upper bound for divisor search range (is increased if necessary)
Number of seats to distribute (single number)
Rounding function