Top
Back: D.3.2.7 busadj
Forward: D.3.2.9 adjoint
FastBack: Appendix D SINGULAR libraries
FastForward: E Release Notes
Up: D.3.2 linalg_lib
Top: 1 Preface
Contents: Table of Contents
Index: F Index
About: About This Document

D.3.2.8 charpoly

Procedure from library linalg.lib (see linalg_lib).

Usage:

charpoly(A[,v]); A square matrix, v string, name of a variable

Return:

poly, the characteristic polynomial det(E*v-A)
(default: v=name of last variable)

Note:

A must be independent of the variable v. The computation uses det. If printlevel>0, det(E*v-A) is diplayed recursively.

Example:

LIB "linalg.lib";
ring r=0,(x,t),dp;
matrix A[3][3]=1,x2,x,x2,6,4,x,4,1;
print(A);
charpoly(A,"t");

Top Back: D.3.2.7 busadj Forward: D.3.2.9 adjoint FastBack: Appendix D SINGULAR libraries FastForward: E Release Notes Up: D.3.2 linalg_lib Top: 1 Preface Contents: Table of Contents Index: F Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.