formatmul Module


Uses

  • module~~formatmul~~UsesGraph module~formatmul formatmul kinds kinds module~formatmul->kinds module~formatmul_opts formatmul_opts module~formatmul->module~formatmul_opts module~formatmul_opts->kinds

Used by

  • module~~formatmul~~UsedByGraph module~formatmul formatmul program~test_matmul10 test_matmul10 program~test_matmul10->module~formatmul program~test_matmul11 test_matmul11 program~test_matmul11->module~formatmul program~test_matmul12 test_matmul12 program~test_matmul12->module~formatmul program~test_matmul13 test_matmul13 program~test_matmul13->module~formatmul program~test_matmul14 test_matmul14 program~test_matmul14->module~formatmul program~test_matmul15 test_matmul15 program~test_matmul15->module~formatmul program~test_matmul3 test_matmul3 program~test_matmul3->module~formatmul program~test_matmul4 test_matmul4 program~test_matmul4->module~formatmul program~test_matmul5 test_matmul5 program~test_matmul5->module~formatmul program~test_matmul6 test_matmul6 program~test_matmul6->module~formatmul program~test_matmul7 test_matmul7 program~test_matmul7->module~formatmul program~test_matmul8 test_matmul8 program~test_matmul8->module~formatmul program~test_matmul9 test_matmul9 program~test_matmul9->module~formatmul

Interfaces

public interface matmul

  • private pure function mat_mat_rel(A, B, transA, transB, option) result(C)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    real(kind=rk), intent(in), contiguous :: A(:,:)
    real(kind=rk), intent(in), contiguous :: B(:,:)
    logical, intent(in), optional :: transA
    logical, intent(in), optional :: transB
    character(len=*), intent(in), optional :: option

    Return Value real(kind=rk), allocatable, (:,:)

  • private pure function mat_mat_block_rel(a, b, transA, transB, option, nblock) result(c)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    real(kind=rk), intent(in), contiguous :: a(:,:)
    real(kind=rk), intent(in), contiguous :: b(:,:)
    logical, intent(in), optional :: transA
    logical, intent(in), optional :: transB
    character(len=*), intent(in), optional :: option
    integer, intent(in) :: nblock

    Return Value real(kind=rk), allocatable, (:,:)

  • private impure function mat_mat_coarray_rel(a, b, transA, transB, option, coarray) result(c)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    real(kind=rk), intent(in), contiguous :: a(:,:)
    real(kind=rk), intent(in), contiguous :: b(:,:)
    logical, intent(in), optional :: transA
    logical, intent(in), optional :: transB
    character(len=*), intent(in), optional :: option
    logical, intent(in) :: coarray

    Return Value real(kind=rk), allocatable, (:,:)

  • private pure function mat_vec_rel(A, v, transA, option) result(w)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    real(kind=rk), intent(in), contiguous :: A(:,:)
    real(kind=rk), intent(in), contiguous :: v(:)
    logical, intent(in), optional :: transA
    character(len=*), intent(in), optional :: option

    Return Value real(kind=rk), allocatable, (:)

  • private pure function mat_vec_block_rel(A, v, transA, option, nblock) result(w)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    real(kind=rk), intent(in), contiguous :: A(:,:)
    real(kind=rk), intent(in), contiguous :: v(:)
    logical, intent(in), optional :: transA
    character(len=*), intent(in), optional :: option
    integer, intent(in) :: nblock

    Return Value real(kind=rk), allocatable, (:)

  • private impure function mat_vec_coarray_rel(A, v, transA, option, coarray) result(w)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    real(kind=rk), intent(in), contiguous :: A(:,:)
    real(kind=rk), intent(in), contiguous :: v(:)
    logical, intent(in), optional :: transA
    character(len=*), intent(in), optional :: option
    logical, intent(in) :: coarray

    Return Value real(kind=rk), allocatable, (:)


Functions

private impure function mat_mat_coarray_rel(a, b, transA, transB, option, coarray) result(c)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: a(:,:)
real(kind=rk), intent(in), contiguous :: b(:,:)
logical, intent(in), optional :: transA
logical, intent(in), optional :: transB
character(len=*), intent(in), optional :: option
logical, intent(in) :: coarray

Return Value real(kind=rk), allocatable, (:,:)

private impure function mat_vec_coarray_rel(A, v, transA, option, coarray) result(w)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: v(:)
logical, intent(in), optional :: transA
character(len=*), intent(in), optional :: option
logical, intent(in) :: coarray

Return Value real(kind=rk), allocatable, (:)

private pure function mat_mat_block_rel(a, b, transA, transB, option, nblock) result(c)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: a(:,:)
real(kind=rk), intent(in), contiguous :: b(:,:)
logical, intent(in), optional :: transA
logical, intent(in), optional :: transB
character(len=*), intent(in), optional :: option
integer, intent(in) :: nblock

Return Value real(kind=rk), allocatable, (:,:)

private pure function mat_vec_block_rel(A, v, transA, option, nblock) result(w)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: v(:)
logical, intent(in), optional :: transA
character(len=*), intent(in), optional :: option
integer, intent(in) :: nblock

Return Value real(kind=rk), allocatable, (:)

private pure function mat_mat_rel(A, B, transA, transB, option) result(C)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: B(:,:)
logical, intent(in), optional :: transA
logical, intent(in), optional :: transB
character(len=*), intent(in), optional :: option

Return Value real(kind=rk), allocatable, (:,:)

private pure function mat_vec_rel(A, v, transA, option) result(w)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: v(:)
logical, intent(in), optional :: transA
character(len=*), intent(in), optional :: option

Return Value real(kind=rk), allocatable, (:)


Subroutines

private pure subroutine compute_block_ranges(d, nimg, block_size, start_elem, end_elem)

Calculate block sizes and ranges. author: Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: d
integer, intent(in) :: nimg
integer, intent(out) :: block_size(nimg)
integer, intent(out) :: start_elem(nimg)
integer, intent(out) :: end_elem(nimg)

private pure subroutine mat_mat_rel_AB(A, B, C, option)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: B(:,:)
real(kind=rk), intent(inout), contiguous :: C(:,:)
character(len=*), intent(in), optional :: option

private pure subroutine mat_mat_rel_ATB(A, B, C, option)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: B(:,:)
real(kind=rk), intent(inout), contiguous :: C(:,:)
character(len=*), intent(in), optional :: option

private pure subroutine mat_mat_rel_ABT(A, B, C, option)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: B(:,:)
real(kind=rk), intent(inout), contiguous :: C(:,:)
character(len=*), intent(in), optional :: option

private pure subroutine mat_mat_rel_ATBT(A, B, C, option)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: B(:,:)
real(kind=rk), intent(inout), contiguous :: C(:,:)
character(len=*), intent(in), optional :: option

private pure subroutine mat_vec_rel_Av(A, v, w, option)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: v(:)
real(kind=rk), intent(inout), contiguous :: w(:)
character(len=*), intent(in), optional :: option

private pure subroutine mat_vec_rel_ATv(A, v, w, option)

Author
Seyed Ali Ghasemi

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: v(:)
real(kind=rk), intent(inout), contiguous :: w(:)
character(len=*), intent(in), optional :: option