Go to the source code of this file.
|
| module | util |
| | All kind of helpful little routines.
|
| |
|
| pure integer function, public | util::locate (array, x) |
| | Purpose: Given an array array(1:n), and given a value x, a value x_index is returned which is the index value of the array element equal to the value x: x = array(x_index) The array must be monotonic increasing. x_index = 0 is returned, if no array element equal to the value of x was found.
|
| |
| pure integer function, dimension(2), public | util::get_limit (m, n, me) |
| | divide m entries into n parts, return size of part me
|
| |