matmul Interface

public interface matmul

Module Procedures

private pure function matmul_vec_spsp(A, x) result(y)

Arguments

Type IntentOptional Attributes Name
type(CSR_SparseMatrix_sp), intent(in) :: A
real(kind=sp), intent(in) :: x(:)

Return Value real(kind=sp), (A%n_rows)

private pure function matmul_vec_spdp(A, x) result(y)

Arguments

Type IntentOptional Attributes Name
type(CSR_SparseMatrix_sp), intent(in) :: A
real(kind=dp), intent(in) :: x(:)

Return Value real(kind=dp), (A%n_rows)

private pure function matmul_multi_vec_spsp(A, x) result(b)

Arguments

Type IntentOptional Attributes Name
type(CSR_SparseMatrix_sp), intent(in) :: A(:)
real(kind=sp), intent(in) :: x(:,:)

Return Value real(kind=sp), (size(A,1),A(1)%n_rows)

private pure function matmul_multi_vec_spdp(A, x) result(b)

Arguments

Type IntentOptional Attributes Name
type(CSR_SparseMatrix_sp), intent(in) :: A(:)
real(kind=dp), intent(in) :: x(:,:)

Return Value real(kind=dp), (size(A,1),A(1)%n_rows)