linalg(deprecated)/charmat - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

charmat

  

construct the characteristic matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

charmat(A, lambda)

Parameters

A

-

square matrix

lambda

-

name or algebraic expression

Description

• 

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

  

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

• 

The function charmat constructs the characteristic matrix M=I⁢λ−A, where I is the identity matrix. If lambda is a name, then det⁡M is the characteristic polynomial.

• 

The command with(linalg,charmat) allows the use of the abbreviated form of this command.

Examples

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

> 

with⁡linalg:

> 

A≔matrix⁡3,3,1,2,3,1,2,3,1,5,6

A≔123123156

(1)
> 

charmat⁡A,λ

λ−1−2−3−1λ−2−3−1−5λ−6

(2)

See Also

linalg(deprecated)[charpoly]

linalg(deprecated)[eigenvals]

linalg(deprecated)[nullspace]

LinearAlgebra