linalg(deprecated)/eigenvalues - 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)/eigenvalues

linalg(deprecated)

  

eigenvalues

  

compute the eigenvalues of a matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

eigenvalues(A)

eigenvalues(A, C)

eigenvalues(A, 'implicit')

eigenvalues(A, 'radical')

Parameters

A

-

square matrix

C

-

matrix of the same shape as A

Description

• 

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

  

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

• 

The call eigenvalues(A) returns a sequence of the eigenvalues of A.  (Refer to ?sequence).

• 

If A contains floating-point numbers, a numerical method is used where all arithmetic is done at the precision specified by Digits. Note that all the entries of A must be numerical, i.e. of type numeric or complex(numeric).

• 

Otherwise (no floating-point numbers, i.e. the symbolic case), the eigenvalues are computed by solving the characteristic polynomial detlambdaIA=0 for the scalar variable lambda, where I is the identity matrix.

• 

If a second parameter 'implicit' is given, the eigenvalues are expressed using Maple's RootOf notation for algebraic extensions. If the parameter 'radical' is given (the default), Maple tries to express the eigenvalues in terms of exact radicals. Note that if the characteristic polynomial has a factor of degree greater than four, then it may not be possible to express all the eigenvalues in terms of radicals.

• 

The call eigenvalues(A, C) solves the ``generalized eigenvalue problem'', that is, finds the roots of the polynomial detlambdaCA.

• 

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

Examples

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

withlinalg:

Amatrix3,3,1.0,2.0,3.0,1.0,2.0,3.0,2.0,5.0,6.0

A1.02.03.01.02.03.02.05.06.0

(1)

eigenvaluesA

9.32182538049648,7.70062212252683×10−16,−0.321825380496478

(2)

Amatrix3,3,1,2,3,1,2,3,2,5,6

A123123256

(3)

eigenvaluesA

0,92+932,92932

(4)

eigenvaluesA,implicit

0,RootOf_Z29_Z3

(5)

See Also

linalg(deprecated)[charpoly]

linalg(deprecated)[eigenvectors]

LinearAlgebra

sequence