Student[LinearAlgebra]
IsOrthogonal
test if a Matrix is orthogonal
IsUnitary
test if a Matrix is unitary
Calling Sequence
Parameters
Description
Examples
IsOrthogonal(A, options)
IsUnitary(A, options)
A
-
square Matrix
options
(optional) parameters; for a complete list, see LinearAlgebra[IsOrthogonal]
The IsOrthogonal(A) command determines if A is an orthogonal Matrix (A.A+=Id, where A+ is the transpose and Id is the identity Matrix).
In general, the IsOrthogonal command 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) command determines if A is a unitary Matrix (A.A*=Id, where A* is the Hermitian transpose and Id is the identity Matrix).
In general, the IsUnitary command 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.
withStudentLinearAlgebra:
G≔RotationMatrixπ7
G≔cosπ7−sinπ7sinπ7cosπ7
IsOrthogonalG
true
mapsimplify,G·G%T
1001
Q≔sqrt10⋅310,−sqrt1010|sqrt10I10,3sqrt10I10
Q≔31010I1010−10103I1010
IsOrthogonalQ
false
IsUnitaryQ
See Also
LinearAlgebra[IsOrthogonal]
map
simplify
Student[LinearAlgebra][IdentityMatrix]
Student[LinearAlgebra][Operators]
Student[LinearAlgebra][RotationMatrix]
Download Help Document