**task_division_test**,
a MATLAB program which
calls task_division() to implement a simple procedure for smoothly dividing T tasks among
P processors; such a method can be useful in MPI and other parallel
environments, particularly when T is not an exact multiple of P,
and when the processors can be indexed starting from 0 or from 1.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

task_division, a MATLAB library which implements a simple procedure for smoothly dividing T tasks among P processors; such a method can be useful in MPI and other parallel environments, particularly when T is not an exact multiple of P, and when the processors can be indexed starting from 0 or from 1.

- task_division_test.m, calls all the tests;
- task_division_test.sh, runs all the tests;
- task_division_test.txt, the output file.