Home Online Manual
Top
Back: chernPoly
Forward: toddPoly
FastBack:
FastForward:
Up: chern_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.2.47 chernCharPoly

Procedure from library chern.lib (see chern_lib).

Usage:
chernCharPoly(r, ch, t); r polynomial, ch list of polynomials, t polynomial

Return:
polynomial

Purpose:
computes the polynomial in t corresponding to the Chern character

Note:

Example:
 
LIB "chern.lib";
ring h=0, (r, ch(1..5), t), ds;
list l=ch(1..5);
// get the polynomial r + ch(1)*t + ch(2)*t^2 + ... + ch(5)*t^5
print( chernCharPoly(r, l, t) );
==> r+ch(1)*t+ch(2)*t^2+ch(3)*t^3+ch(4)*t^4+ch(5)*t^5