public interface hermitian
Computes the Hermitian version of a rank-2 matrix.
For complex matrices, this returns conjg(transpose(a))
.
For real or integer matrices, this returns transpose(a)
.
Usage:
A = reshape([(1, 2), (3, 4), (5, 6), (7, 8)], [2, 2])
AH = hermitian(A)
Specification
Functions
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=dp),
|
intent(in) |
|
|
:: |
a(:,:) |
|
Return Value
complex(kind=dp), (size(a,2),size(a,1))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=sp),
|
intent(in) |
|
|
:: |
a(:,:) |
|
Return Value
complex(kind=sp), (size(a,2),size(a,1))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int16),
|
intent(in) |
|
|
:: |
a(:,:) |
|
Return Value
integer(kind=int16), (size(a,2),size(a,1))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int32),
|
intent(in) |
|
|
:: |
a(:,:) |
|
Return Value
integer(kind=int32), (size(a,2),size(a,1))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int64),
|
intent(in) |
|
|
:: |
a(:,:) |
|
Return Value
integer(kind=int64), (size(a,2),size(a,1))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=int8),
|
intent(in) |
|
|
:: |
a(:,:) |
|
Return Value
integer(kind=int8), (size(a,2),size(a,1))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
a(:,:) |
|
Return Value
real(kind=dp), (size(a,2),size(a,1))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
a(:,:) |
|
Return Value
real(kind=sp), (size(a,2),size(a,1))