linalg(deprecated)/issimilar - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : linalg(deprecated)/issimilar

linalg(deprecated)

  

issimilar

  

determine similarity of matrices

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

issimilar(A, B)

issimilar(A, B, 'P')

Parameters

A

-

square matrix

B

-

square matrix

'P'

-

(optional) assigned a transformation matrix

Description

• 

Important: The linalg package has been deprecated. Use the superseding command, LinearAlgebra[IsSimilar], instead.

  

- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.

• 

The function issimilar(A, B) returns true if A is similar to B and false otherwise.

• 

If called in the form issimilar(A, B,'P'), then P will be assigned a transformation matrix such that A=inversePBP.

• 

This function is part of the linalg package, and so can be used in the form issimilar(..) only after performing the command with(linalg), or with(linalg,issimilar).  This function can always be accessed in the long form linalg[issimilar](..).

Examples

Important: The linalg package has been deprecated. Use the superseding command, LinearAlgebra[IsSimilar], instead.

withlinalg:

Amatrix3,3,1,2,3,4,5,6,7,8,9

A123456789

(1)

BdiageigenvaluesA

B0000152+33320001523332

(2)

issimilarA,B,P

true

(3)

printP

161316512+73313216+331981121733396512+73313216+331981121733396

(4)

mapnormal,evalmP1&*B&*P

123456789

(5)

See Also

Domains

evala

Issimilar

LinearAlgebra

mod