f77_unmr2 Interface

public interface f77_unmr2

Generic old style interface for UNMR2. Supports c, z. See also: mfi_unmr2, cunmr2, zunmr2.


Subroutines

public pure subroutine cunmr2(side, trans, m, n, k, a, lda, tau, c, ldc, work, info)

Original interface for CUNMR2 See also: mfi_unmr2, f77_unmr2. This routine overwrites the general complex matrix with

                 SIDE = 'L'     SIDE = 'R'
 TRANS = 'N':      Q * C          C * Q
 TRANS = 'C':      Q**H * C       C * Q**H

where Q is a complex unitary matrix defined as the product of k elementary reflectors

as returned by cgerqf. is of order if SIDE = 'L' and of order if SIDE = 'R'.

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: side
character(len=1), intent(in) :: trans
integer, intent(in) :: m
integer, intent(in) :: n
integer, intent(in) :: k
complex(kind=REAL32), intent(inout) :: a(lda,*)
integer, intent(in) :: lda
complex(kind=REAL32), intent(in) :: tau(*)
complex(kind=REAL32), intent(inout) :: c(ldc,*)
integer, intent(in) :: ldc
complex(kind=REAL32), intent(out) :: work(*)
integer, intent(out) :: info

public pure subroutine zunmr2(side, trans, m, n, k, a, lda, tau, c, ldc, work, info)

Original interface for ZUNMR2 See also: mfi_unmr2, f77_unmr2. This routine overwrites the general complex matrix with

                 SIDE = 'L'     SIDE = 'R'
 TRANS = 'N':      Q * C          C * Q
 TRANS = 'C':      Q**H * C       C * Q**H

where Q is a complex unitary matrix defined as the product of k elementary reflectors

as returned by zgerqf. is of order if SIDE = 'L' and of order if SIDE = 'R'.

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: side
character(len=1), intent(in) :: trans
integer, intent(in) :: m
integer, intent(in) :: n
integer, intent(in) :: k
complex(kind=REAL64), intent(inout) :: a(lda,*)
integer, intent(in) :: lda
complex(kind=REAL64), intent(in) :: tau(*)
complex(kind=REAL64), intent(inout) :: c(ldc,*)
integer, intent(in) :: ldc
complex(kind=REAL64), intent(out) :: work(*)
integer, intent(out) :: info