stdlib_array#
See also the specification page: stdlib_array.
stdlib_array (module)#
Module for index manipulation and general array handling
The specification of this module is available here.
Procedures
trueloc (function)#
-
pure function trueloc(array, lbound) -> loc Return the positions of the true elements in array. (Specification: stdlib_array)
- Arguments:
- arraylogical, intent(in), dimension(:)
Mask of logicals
- lboundinteger, intent(in), optional
Lower bound of array to index
- Returns:
- locinteger, dimension(count(array)
Locations of true elements
falseloc (function)#
-
pure function falseloc(array, lbound) -> loc Return the positions of the false elements in array. (Specification: stdlib_array)
- Arguments:
- arraylogical, intent(in), dimension(:)
Mask of logicals
- lboundinteger, intent(in), optional
Lower bound of array to index
- Returns:
- locinteger, dimension(count(.not.array)
Locations of false elements