Complex Transpose

Complex Transpose is different from transpose in that any complex numbers are also conjugated.

When complex numbers are not used, it works the same as a normal transpose.
Table 1.
'Complex Scalar Row Vector Column Vector Matrix
The conjugate of the scalar is returned. Transposes to a column vector. If any scalars within the vector are complex, the conjugate is returned rather than the original scalar. Transposes to a row vector. If any scalars within the vector are complex, the conjugate is returned rather than the original scalar. Transposes to a matrix. If any scalars within the vector are complex, the conjugate is returned rather than the original scalar.

Examples

4i'
ans = -4i
[4i-5 6j]'
ans = [-5-4i; -6i]
[4 6]'
ans = [4;6]
[7i 3; 5j 8i]'
ans =[-7i -5i; 3 -8i]

Comments

Sparse matrices are supported for this operation.