sum Interface

public interface sum

Functions

private module function sum_all_array(a) result(c)

Arguments

Type IntentOptional Attributes Name
class(array_type), intent(in), target :: a

Return Value type(array_type), pointer

private module function sum_and_pad_array(a, dim, new_dim_index, new_dim_size) result(c)

Arguments

Type IntentOptional Attributes Name
class(array_type), intent(in), target :: a
integer, intent(in) :: dim
integer, intent(in) :: new_dim_index
integer, intent(in) :: new_dim_size

Return Value type(array_type), pointer

private module function sum_array(a, dim) result(c)

Arguments

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

Return Value type(array_type), pointer