kronecker_product Interface

public interface kronecker_product

Computes the Kronecker product of two arrays of size M1xN1, and of M2xN2, returning an (M1M2)x(N1N2) array (Specification)


Functions

private pure module function kronecker_product_cdp(A, B) result(C)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: A(:,:)
complex(kind=dp), intent(in) :: B(:,:)

Return Value complex(kind=dp), (size(A,dim=1)*size(B,dim=1),size(A,dim=2)*size(B,dim=2))

private pure module function kronecker_product_csp(A, B) result(C)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: A(:,:)
complex(kind=sp), intent(in) :: B(:,:)

Return Value complex(kind=sp), (size(A,dim=1)*size(B,dim=1),size(A,dim=2)*size(B,dim=2))

private pure module function kronecker_product_iint16(A, B) result(C)

Arguments

Type IntentOptional Attributes Name
integer(kind=int16), intent(in) :: A(:,:)
integer(kind=int16), intent(in) :: B(:,:)

Return Value integer(kind=int16), (size(A,dim=1)*size(B,dim=1),size(A,dim=2)*size(B,dim=2))

private pure module function kronecker_product_iint32(A, B) result(C)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: A(:,:)
integer(kind=int32), intent(in) :: B(:,:)

Return Value integer(kind=int32), (size(A,dim=1)*size(B,dim=1),size(A,dim=2)*size(B,dim=2))

private pure module function kronecker_product_iint64(A, B) result(C)

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: A(:,:)
integer(kind=int64), intent(in) :: B(:,:)

Return Value integer(kind=int64), (size(A,dim=1)*size(B,dim=1),size(A,dim=2)*size(B,dim=2))

private pure module function kronecker_product_iint8(A, B) result(C)

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: A(:,:)
integer(kind=int8), intent(in) :: B(:,:)

Return Value integer(kind=int8), (size(A,dim=1)*size(B,dim=1),size(A,dim=2)*size(B,dim=2))

private pure module function kronecker_product_rdp(A, B) result(C)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: A(:,:)
real(kind=dp), intent(in) :: B(:,:)

Return Value real(kind=dp), (size(A,dim=1)*size(B,dim=1),size(A,dim=2)*size(B,dim=2))

private pure module function kronecker_product_rsp(A, B) result(C)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: A(:,:)
real(kind=sp), intent(in) :: B(:,:)

Return Value real(kind=sp), (size(A,dim=1)*size(B,dim=1),size(A,dim=2)*size(B,dim=2))