IsOrthogonal - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


LinearAlgebra

  

IsOrthogonal

  

test if a Matrix is orthogonal

  

IsUnitary

  

test if a Matrix is unitary

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsOrthogonal(A, M)

IsUnitary(A, M)

Parameters

A

-

square Matrix

M

-

(optional) square Matrix

Description

• 

The IsOrthogonal(A) function determines if A is an orthogonal Matrix (AA' = I, where A' is the transpose and I is the identity Matrix).

  

The IsOrthogonal(A,M) function determines if A is an orthogonal Matrix with respect to the inner product defined by M (AMA' = I).

  

In general, the IsOrthogonal function returns true if it can determine that Matrix A is orthogonal, false if it can determine that the Matrix is not orthogonal, and FAIL otherwise.

• 

The IsUnitary(A) function determines if A is a unitary Matrix (A . A* = I, where A* is the Hermitian transpose and I is the identity Matrix).

  

The IsUnitary(A,M) function determines if A is a unitary Matrix with respect to the inner product defined by M (A . M . A* = I).

  

In general, the IsUnitary function returns true if it can determine that Matrix A is unitary, false if it can determine that the Matrix is not unitary, and FAIL otherwise.

• 

This function is part of the LinearAlgebra package, and so it can be used in the form IsOrthogonal(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[IsOrthogonal](..).

Examples

withLinearAlgebra:

Gmapsimplify,GivensRotationMatrixcosθ,sinθ,1,2,3

Gcosθsinθ0sinθcosθ0001

(1)

Normalizerxsimplifyx,trig:

IsOrthogonalG

true

(2)

mapsimplify,G·TransposeG

100010001

(3)

Qsqrt10310,sqrt1010|sqrt10I10,3sqrt10I10

Q31010I101010103I1010

(4)

IsOrthogonalQ

false

(5)

IsUnitaryQ

true

(6)

A1,2|4,3:

C25121,2121|2121,5121:

A·C·TransposeA

1001

(7)

IsOrthogonalA,C

true

(8)

See Also

LinearAlgebra[HermitianTranspose]

LinearAlgebra[IdentityMatrix]

LinearAlgebra[Transpose]

Matrix