determine if two Matrices are similar - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Linear Algebra : Computation : Queries : Student/LinearAlgebra/IsSimilar

Student[LinearAlgebra][IsSimilar] - determine if two Matrices are similar

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=P1.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

withStudent[LinearAlgebra]:

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

true,10432

(1)

A:=3,1|2,2

A:=3212

(2)

B:=DiagonalMatrix1,4

B:=1004

(3)

S:=IsSimilarA,B

S:=true,13232323

(4)

S21.B.S2

3212

(5)

See Also

LinearAlgebra[IsSimilar], Student[LinearAlgebra], Student[LinearAlgebra][Eigenvalues], Student[LinearAlgebra][JordanForm]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam