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

Online Help

All Products    Maple    MapleSim


Student[LinearAlgebra]

  

IsSimilar

  

determine if two Matrices are similar

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsSimilar(A, B, options)

Parameters

A

-

square Matrix

B

-

square Matrix

options

-

(optional) parameters; for a complete list, see LinearAlgebra[IsSimilar]

Description

• 

The IsSimilar(A, B) command returns false if A and B are not similar, and otherwise returns the expression sequence true, P, where P is the similarity transformation matrix, that is, A=P−1·B·P.

  

If either of the Matrices has a floating-point data type, then each must evaluate to a purely floating-point Matrix. In this case, the result of IsSimilar is achieved by making a numeric comparison of the eigenvalues of each Matrix.

Examples

withStudentLinearAlgebra:

IsSimilar1,2|3,4,9,17|2,4

true,10432

(1)

A3,1|2,2

A3212

(2)

BDiagonalMatrix1,4

B1004

(3)

SIsSimilarA,B

Strue,13232323

(4)

S21·B·S2

3212

(5)

See Also

LinearAlgebra[IsSimilar]

Student[LinearAlgebra]

Student[LinearAlgebra][Eigenvalues]

Student[LinearAlgebra][JordanForm]