|
TUV-x
|
Functions for working with allocatable arrays. More...
Data Types | |
| interface | find_string_in_array |
| interface | find_string_in_split_array |
Functions/Subroutines | |
| logical function | find_string_in_array_char (array, string, id, case_sensitive) |
| Finds a string in a string array (case insensitive by default) | |
| logical function | find_string_in_array_string (array, string, id, case_sensitive) |
| Finds a string in an array ( case insensitive by default) | |
| logical function | find_string_in_split_array_char (array, string, splitter, element_id, id, case_sensitive) |
| Find a string in an array of strings after splitting the array elements. | |
| logical function | find_string_in_split_array_string (array, string, splitter, element_id, id, case_sensitive) |
| Find a string in an array of strings after splitting the array elements. | |
| real(kind=musica_dk) function, dimension(:), allocatable, public | merge_series (a, b, with_bounds_from) |
| Merge two sets of values into a single set without duplicates. | |
| real(kind=musica_dk) function, dimension(:), allocatable, public | calculate_linear_array (minimum, maximum, number_of_elements) |
| Allocates and calculates an array of linearly increasing value with specified minimum and maximum values and number of elements. | |
| real(kind=musica_dk) function, dimension(:), allocatable, public | calculate_logarithmic_array (minimum, maximum, number_of_elements) |
| Allocates and calculates an array of logarithmically increasing value with specified minimum and maximum values and number of elements. | |
Functions for working with allocatable arrays.
| real(kind=musica_dk) function, dimension(:), allocatable, public musica_array::calculate_linear_array | ( | real(kind=musica_dk), intent(in) | minimum, |
| real(kind=musica_dk), intent(in) | maximum, | ||
| integer(kind=musica_ik), intent(in) | number_of_elements ) |
Allocates and calculates an array of linearly increasing value with specified minimum and maximum values and number of elements.
| [in] | minimum | Minimum array value |
| [in] | maximum | Maximum array value |
| [in] | number_of_elements | Number of array elements |
| real(kind=musica_dk) function, dimension(:), allocatable, public musica_array::calculate_logarithmic_array | ( | real(kind=musica_dk), intent(in) | minimum, |
| real(kind=musica_dk), intent(in) | maximum, | ||
| integer(kind=musica_ik), intent(in) | number_of_elements ) |
Allocates and calculates an array of logarithmically increasing value with specified minimum and maximum values and number of elements.
| [in] | minimum | Minimum array value |
| [in] | maximum | Maximum array value |
| [in] | number_of_elements | Number of array elements |
|
private |
Finds a string in a string array (case insensitive by default)
| [in] | array | Array to search |
| [in] | string | String to search for |
| [out] | id | Index of located string |
| [in] | case_sensitive | Do a case sensitive search |
|
private |
Finds a string in an array ( case insensitive by default)
| [in] | array | Array to search |
| [in] | string | String to search for |
| [out] | id | Index of located string |
| [in] | case_sensitive | Do a case sensitive search |
|
private |
Find a string in an array of strings after splitting the array elements.
Case insensitive by default
| [in] | array | Array to search |
| [in] | string | String to search for |
| [in] | splitter | Splitting characters |
| [in] | element_id | Element to compare in split strings |
| [out] | id | Index of located string |
| [in] | case_sensitive | Do a case sensitive search |
|
private |
Find a string in an array of strings after splitting the array elements.
Case insensitive by default
| [in] | array | Array to search |
| [in] | string | String to search for |
| [in] | splitter | Splitting characters |
| [in] | element_id | Element to compare in split strings |
| [out] | id | Index of located string |
| [in] | case_sensitive | Do a case sensitive search |
| real(kind=musica_dk) function, dimension(:), allocatable, public musica_array::merge_series | ( | real(kind=musica_dk), dimension(:), intent(in) | a, |
| real(kind=musica_dk), dimension(:), intent(in) | b, | ||
| real(kind=musica_dk), dimension(:), intent(in), optional | with_bounds_from ) |
Merge two sets of values into a single set without duplicates.
Both sets must be arranged in increasing order
| [in] | a | First series |
| [in] | b | Second series |
| [in] | with_bounds_from | Restricts series to bounds in this array |