unpack Interface

public interface unpack

Functions

private module function unpack_indices_array(a, indices, dim, new_size) result(c)

Arguments

Type IntentOptional Attributes Name
class(array_type), intent(in), target :: a
integer, intent(in), dimension(:) :: indices
integer, intent(in) :: dim
integer, intent(in) :: new_size

Return Value type(array_type), pointer

private module function unpack_mask_array(a, array_shape, dim, indices) result(c)

Arguments

Type IntentOptional Attributes Name
class(array_type), intent(in), target :: a
integer, intent(in), dimension(:) :: array_shape
integer, intent(in), optional :: dim
integer, intent(in), optional, dimension(:) :: indices

Return Value type(array_type), pointer