Top
Back: 5.1.62 leadcoef
Forward: 5.1.64 leadmonom
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.1 Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

5.1.63 leadexp

Syntax:

leadexp ( poly_expression )
leadexp ( vector_expression )

Type:

intvec

Purpose:

returns the exponent vector of the leading monomial of a polynomial or a vector. In the case of a vector the last component is the index in the vector.

Example:
 
  ring r=32003,(x,y,z),(c,ds);
  poly f=x2+y+z3;
  vector v=[2*x^10,f];
  leadexp(f);
→ 0,1,0
  leadexp(v);
→ 10,0,0,1
  leadexp(0);
→ 0,0,0

See intvec; lead; leadcoef; leadmonom; poly; vector.


Top Back: 5.1.62 leadcoef Forward: 5.1.64 leadmonom FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.1 Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.