Conjugate transpose on an array. More...

array H () const
 Conjugate transpose (1+2i becomes 1-2i). More...
 

Detailed Description

Conjugate transpose on an array.

This function will transpose a matrix.

Function Documentation

array H ( ) const

Conjugate transpose (1+2i becomes 1-2i).

Real arrays are simply transposed.

array X = randn(2,3,c32);
print(X);
print(X.H());
X =
    0.2925 -    0.7184i    2.5470 -    0.0034i    0.1290 +    0.3728i
    0.1000 -    0.3932i    0.0083 -    0.2510i    1.0822 -    0.6650i

X.H() =
    0.2925 +    0.7184i    0.1000 +    0.3932i
    2.5470 +    0.0034i    0.0083 +    0.2510i
    0.1290 -    0.3728i    1.0822 +    0.6650i