diffstruc__operations_broadcast Module

This module contains broadcast operations for the diffstruc library.


Uses


Interfaces

public interface concat

  • private module function concat_arrays(a, b, dim) result(c)

    Arguments

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

    Return Value type(array_type), pointer

public interface ltrim

  • private module function ltrim_array(a, b, dim) result(c)

    Arguments

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

    Return Value type(array_type), pointer

public interface operator(.index.)

  • private module function index_array(a, indices) result(c)

    Arguments

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

    Return Value type(array_type), pointer

public interface pack

  • private module function pack_indices_array(a, indices, dim) result(c)

    Arguments

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

    Return Value type(array_type), pointer

  • private module function pack_mask_array(a, dim, mask) result(c)

    Arguments

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

    Return Value type(array_type), pointer

public interface reshape

  • private module function reshape_array(a, new_shape) result(c)

    Arguments

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

    Return Value type(array_type), pointer

public interface reverse_index

  • private module function reverse_index_array(a, indices, from, new_index_size) result(c)

    Arguments

    Type IntentOptional Attributes Name
    class(array_type), intent(in), target :: a
    integer, intent(in), dimension(:) :: indices
    logical, intent(in) :: from
    integer, intent(in) :: new_index_size

    Return Value type(array_type), pointer

public interface rtrim

  • private module function rtrim_array(a, b, dim) result(c)

    Arguments

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

    Return Value type(array_type), pointer

public interface slice_left

  • private module function slice_left_array(a, b, dim) result(c)

    Arguments

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

    Return Value type(array_type), pointer

public interface slice_right

  • private module function slice_right_array(a, b, dim) result(c)

    Arguments

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

    Return Value type(array_type), pointer

public interface unpack

  • 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