DotMatrix Interface

public interface DotMatrix

Contents


Module Procedures

private subroutine DotMatrix_psr(matA, matB, product)

product = dot(Matrix A,Matrix B) Note that a dot product is the sum of elementwise multiplication, not traditional matrix multiplication.

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(in) :: matA

Matrix A.

type(Matrix_ps), intent(in) :: matB

Matrix B.

real(kind=NTREAL), intent(out) :: product

The dot product.

private subroutine DotMatrix_psc(matA, matB, product)

product = dot(Matrix A,Matrix B) Note that a dot product is the sum of elementwise multiplication, not traditional matrix multiplication.

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(in) :: matA

Matrix A.

type(Matrix_ps), intent(in) :: matB

Matrix B.

complex(kind=NTCOMPLEX), intent(out) :: product

The dot product.