EzLAPACK
|
Provides a generic interface for generating random complex numbers, integers, and characters. More...
Data Types | |
interface | random_complex |
Generic interface for generating random complex numbers. More... | |
Functions/Subroutines | |
subroutine, public | random_character (character_array, output_character) |
Randomly select and return a character from an input array of strings. | |
subroutine, public | random_integer (lower_bound, upper_bound, output_integer) |
Get a random integer between the lower and upper bounds (inclusive). | |
Provides a generic interface for generating random complex numbers, integers, and characters.
This module offers utilities for generating random values with specific properties:
subroutine, public module_random::random_character | ( | character(len=*), dimension(:), intent(in) | character_array, |
character(len=*), intent(out) | output_character ) |
Randomly select and return a character from an input array of strings.
[in] | character_array | Input array of strings to select from. |
[out] | output_character | Randomly selected character from the input array. |
subroutine, public module_random::random_integer | ( | integer, intent(in) | lower_bound, |
integer, intent(in) | upper_bound, | ||
integer, intent(out) | output_integer ) |
Get a random integer between the lower and upper bounds (inclusive).
[in] | lower_bound | Lower bound of the random integer range. |
[in] | upper_bound | Upper bound of the random integer range. |
[out] | output_integer | Random integer within the specified range. |