The AHA Model
Revision: 12809
Reference implementation 04 (HEDG02_04)
|
Check if a value is the minimum value of an array. More...
Public Member Functions | |
pure logical function | is_minval_r (value, array, tolerance) |
Function to check if the value is the minimum value of an array (returns TRUE), or not (return FALSE). More... | |
pure logical function | is_minval_i (value, array) |
Function to check if the value is the minimum value of an array (returns TRUE), or not (return FALSE). Integer version. More... | |
Check if a value is the minimum value of an array.
Definition at line 5507 of file m_common.f90.
pure logical function commondata::is_minval::is_minval_r | ( | real(srp), intent(in) | value, |
real(srp), dimension(:), intent(in) | array, | ||
real(srp), intent(in), optional | tolerance | ||
) |
Function to check if the value is the minimum value of an array (returns TRUE), or not (return FALSE).
value
is indeed the minimum value of the array
and FALSE otherwise. [in] | value | The value to check |
[in] | array | The array to check within. |
[in] | tolerance | Optional tolerance threshold. |
Definition at line 7524 of file m_common.f90.
pure logical function commondata::is_minval::is_minval_i | ( | integer, intent(in) | value, |
integer, dimension(:), intent(in) | array | ||
) |
Function to check if the value is the minimum value of an array (returns TRUE), or not (return FALSE). Integer version.
value
is indeed the minimum value of the array
and FALSE otherwise. [in] | value | The value to check |
[in] | array | The array to check within. |
Definition at line 7562 of file m_common.f90.