eye Interface

public interface eye

Constructs the identity matrix (Specification)


Module Procedures

private pure function eye_rsp(dim1, dim2, mold) result(result)

Constructs the identity matrix. (Specification)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dim1
integer, intent(in), optional :: dim2
real(kind=sp), intent(in) :: mold

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

private pure function eye_rdp(dim1, dim2, mold) result(result)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dim1
integer, intent(in), optional :: dim2
real(kind=dp), intent(in), optional :: mold

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

private pure function eye_csp(dim1, dim2, mold) result(result)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dim1
integer, intent(in), optional :: dim2
complex(kind=sp), intent(in) :: mold

Return Value complex(kind=sp), allocatable, (:,:)

private pure function eye_cdp(dim1, dim2, mold) result(result)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dim1
integer, intent(in), optional :: dim2
complex(kind=dp), intent(in) :: mold

Return Value complex(kind=dp), allocatable, (:,:)

private pure function eye_iint8(dim1, dim2, mold) result(result)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dim1
integer, intent(in), optional :: dim2
integer(kind=int8), intent(in) :: mold

Return Value integer(kind=int8), allocatable, (:,:)

private pure function eye_iint16(dim1, dim2, mold) result(result)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dim1
integer, intent(in), optional :: dim2
integer(kind=int16), intent(in) :: mold

Return Value integer(kind=int16), allocatable, (:,:)

private pure function eye_iint32(dim1, dim2, mold) result(result)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dim1
integer, intent(in), optional :: dim2
integer(kind=int32), intent(in) :: mold

Return Value integer(kind=int32), allocatable, (:,:)

private pure function eye_iint64(dim1, dim2, mold) result(result)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dim1
integer, intent(in), optional :: dim2
integer(kind=int64), intent(in) :: mold

Return Value integer(kind=int64), allocatable, (:,:)