public interface her2k
HER2K performs one of the hermitian rank 2k operations
C := alphaABH + conjg( alpha )BAH + betaC,
or
C := alphaAHB + conjg( alpha )BHA + betaC,
where alpha and beta are scalars with beta real, C is an n by n
hermitian matrix and A and B are n by k matrices in the first case
and k by n matrices in the second case.
Subroutines
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=1),
|
intent(in) |
|
|
:: |
uplo |
|
character(len=1),
|
intent(in) |
|
|
:: |
trans |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
k |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
alpha |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
a(lda,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
lda |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
b(ldb,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldb |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
beta |
|
complex(kind=sp),
|
intent(inout) |
|
|
:: |
c(ldc,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldc |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=1),
|
intent(in) |
|
|
:: |
uplo |
|
character(len=1),
|
intent(in) |
|
|
:: |
trans |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
k |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
alpha |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
a(lda,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
lda |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
b(ldb,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldb |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
beta |
|
complex(kind=dp),
|
intent(inout) |
|
|
:: |
c(ldc,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldc |
|
Module Procedures
CHER2K performs one of the hermitian rank 2k operations
C := alphaABH + conjg( alpha )BAH + betaC,
or
C := alphaAHB + conjg( alpha )BHA + betaC,
where alpha and beta are scalars with beta real, C is an n by n
hermitian matrix and A and B are n by k matrices in the first case
and k by n matrices in the second case.
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=1),
|
intent(in) |
|
|
:: |
uplo |
|
character(len=1),
|
intent(in) |
|
|
:: |
trans |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
k |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
alpha |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
a(lda,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
lda |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
b(ldb,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldb |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
beta |
|
complex(kind=sp),
|
intent(inout) |
|
|
:: |
c(ldc,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldc |
|
ZHER2K performs one of the hermitian rank 2k operations
C := alphaABH + conjg( alpha )BAH + betaC,
or
C := alphaAHB + conjg( alpha )BHA + betaC,
where alpha and beta are scalars with beta real, C is an n by n
hermitian matrix and A and B are n by k matrices in the first case
and k by n matrices in the second case.
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=1),
|
intent(in) |
|
|
:: |
uplo |
|
character(len=1),
|
intent(in) |
|
|
:: |
trans |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
n |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
k |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
alpha |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
a(lda,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
lda |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
b(ldb,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldb |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
beta |
|
complex(kind=dp),
|
intent(inout) |
|
|
:: |
c(ldc,*) |
|
integer(kind=ilp),
|
intent(in) |
|
|
:: |
ldc |
|