compute the transpose of a Matrix, Vector, or scalar
compute the Hermitian (conjugate) transpose of a Matrix, Vector, or scalar
Transpose(A, ip, options)
A ^ +
A ^ %T
HermitianTranspose(A, ip, options)
A ^ *
A ^ %H
Matrix, Vector, or scalar
(optional) equation of the form inplace=true or false; specifies if output overwrites input
(optional); constructor options for the result object
The Transpose(A) function computes the transpose of A.
If T := Transpose(A), then one of the following conditions holds:
if A is a Matrix, then T is a Matrix with Ti,j=Aj,i;
if A is a Vector, then T is a Vector containing the same elements as A, and opposite in orientation to A; or
if A is a scalar value, then T=A.
The HermitianTranspose⁡A function computes the Hermitian transpose (dual) of A.
If H := HermitianTranspose(A), then one of the following conditions holds:
if A is a Matrix, then H is a Matrix with Hi,j=Aj,i&conjugate0;;
if A is a Vector, then H is a Vector containing the conjugated elements of A, and opposite in orientation to A; or
if A is a scalar value, then H=A&conjugate0;.
Transpose⁡A can also be entered as A+ or as A%T. HermitianTranspose⁡A can also be entered as A* or as A%H. These short forms do not require the LinearAlgebra package to be loaded first.
The inplace option (ip) determines where the result is returned. If given as inplace=true, the result overwrites the first argument. If given as inplace=false, or if this option is not included in the calling sequence, the result is returned in a new Matrix (or Vector).
The condition inplace=true can be abbreviated to inplace.
The inplace option must be used with caution since, if the operation fails, the original Matrix (or Vector) argument may be corrupted.
Note: For this function, the inplace option is only valid for input that is a Vector or a square Matrix.
The constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Matrix or Vector constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list. If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).
The inplace and constructor options are mutually exclusive.
These functions are part of the LinearAlgebra package, and so they can be used in the form Transpose(..) or HermitianTranspose(..) only after executing the command with(LinearAlgebra). However, they can always be accessed through the long form of the command by using LinearAlgebra[Transpose](..) or LinearAlgebra[HermitianTranspose](..).
A ≔ 1,2,w|2,6,x|3,7,y|4,8,z
V ≔ a,b,c
Download Help Document