Next: dfp() Up: Mathematical Macros Help File Previous: ctrace()   Contents

ctranspose()

Usage:
b <- ctranspose(a), REAL matrix a representing a complex matrix in fully
  complex form



Keywords: complex matrices, matrices
b <- ctranspose(a) computes the complex transpose of the complex matrix
a in fully complex form.  That is creal(b) = creal(a)' and cimag(b) =
cimag(a)'.

                                 Example
  Cmd> areal <- matrix(vector(0.57,-0.24,-0.33,-0.55),2)

  Cmd> aimag <- matrix(vector(0.43,-0.08,-0.16,0.26),2)

  Cmd> a <- cmplx(areal,aimag)

  Cmd> atrans <- ctranspose(a)

  Cmd> creal(atrans) # transpose of areal
  (1,1)        0.57       -0.24
  (2,1)       -0.33       -0.55

  Cmd> cimag(atrans) # transpose of aimag
  (1,1)        0.43       -0.08
  (2,1)       -0.16        0.26

                            Cross references
See also cjtranspose(), 'complex', 'transpose'.


Gary Oehlert 2006-01-30