CUDA
C/C++    Fortran   

htranspose Interface Reference

Matrix hermitian transpose. More...

List of all members.

Public Member Functions

type(arrayarray_htranspose (A)
 Htranspose an array.

Detailed Description

Matrix hermitian transpose.

Parameters:
[in]A-- type array of size M x N
Returns:
B of size N x M which is the matrix transpose of A
 type(array) Re, Im, Cplx, Cplx2, Im2
 Re = randu(5, 5)         ! Random matrix, real part
 Im = randu(5, 5)         ! Random matrix, imaginary part
 Cplx = complex(Re, Im)   ! Create complex matrix
 Cplx2 = htranspose(Cplx) ! Hermitian transpose
 Im2 = imag(Cplx2)        ! Extract imaginary part. same
 call print(sum(Im + Im2)) ! Im is equal to -Im2

The documentation for this interface was generated from the following file: