linalg(deprecated)/htranspose - Maple Help

linalg(deprecated)

 htranspose
 Hermitian transpose of a matrix

 Calling Sequence htranspose(A)

Parameters

 A - m x n matrix

Description

 • Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[HermitianTranspose], instead.
 - For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
 • The Hermitian transpose of A is computed.  The result is an n x m matrix.
 • The [i, j]th element of the result is equal to the conjugate of the [j, i]th element of A.
 • The result inherits the indexing (for example, diagonal or sparse) function of A, if A has such an indexing.
 • If A is a vector, then it is treated as if it were a column (n x 1) matrix.
 • The command with(linalg,htranspose) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[HermitianTranspose], instead.

 > $\mathrm{with}\left(\mathrm{linalg}\right):$
 > $A≔\mathrm{array}\left(\left[\left[1,2\right],\left[4,I\right]\right]\right)$
 ${A}{≔}\left[\begin{array}{cc}{1}& {2}\\ {4}& {I}\end{array}\right]$ (1)
 > $\mathrm{htranspose}\left(A\right)$
 $\left[\begin{array}{cc}{1}& {4}\\ {2}& {-I}\end{array}\right]$ (2)
 > $B≔\mathrm{matrix}\left(3,2,\left[1+I,-3,-I,2I,4,5\right]\right)$
 ${B}{≔}\left[\begin{array}{cc}{1}{+}{I}& {-3}\\ {-I}& {2}{}{I}\\ {4}& {5}\end{array}\right]$ (3)
 > $\mathrm{htranspose}\left(B\right)$
 $\left[\begin{array}{ccc}{1}{-}{I}& {I}& {4}\\ {-3}& {-}{2}{}{I}& {5}\end{array}\right]$ (4)