ADJOINT Function
Computes the conjugate transpose of a matrix.
enabled.
note | This operation performs best when the system variable !CACHE accurately reflects cache sizes on the host machine. |
Usage
b = ADJOINT(a)
Input Parameters
a—An (m,n) numerical array.
Returned Value
b—The conjugate transpose of
a, i.e., the (
n,m) array such that
.
Keywords
None.
Discussion
Computing the conjugate transpose with ADJOINT is about twice as fast as computing it with the sequence of commands CONJ and TRANSPOSE. For real inputs, the output array equals the transpose of the input array.
Example
a = LINSPACE( [2,2], COMPLEX(0,0.5), COMPLEX(1,1) )
PM, a
; PV-WAVE prints:
; ( 0.00000, 0.500000)( 2.00000, 2.50000)
; ( 1.00000, 1.50000)( 3.00000, 3.50000)
b = ADJOINT(a)
PM, b
; PV-WAVE prints:
; ( 0.00000, -0.500000)( 1.00000, -1.50000)
; ( 2.00000, -2.50000)( 3.00000, -3.50000)
See Also