linalg(deprecated)
charmat
construct the characteristic matrix
Calling Sequence
Parameters
Description
Examples
charmat(A, lambda)
A
-
square matrix
lambda
name or algebraic expression
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.
with⁡linalg:
A≔matrix⁡3,3,1,2,3,1,2,3,1,5,6
A≔123123156
charmat⁡A,λ
λ−1−2−3−1λ−2−3−1−5λ−6
See Also
linalg(deprecated)[charpoly]
linalg(deprecated)[eigenvals]
linalg(deprecated)[nullspace]
LinearAlgebra
Download Help Document